Hi @szigetics_nt szigetics_nt,
Thank you for you commands and i was able to trust the certificate by creating a package with composer and user these commands in this way through post install script.
sudo /usr/bin/security authorizationdb write com.apple.trust-settings.admin allow
sudo security add-trusted-cert -p codeSign -p pkgSign -d -r trustAsRoot -k /Library/Keychains/System.keychain /private/tmp/Nexthink/SCTASK8557870_Nexthink.cer
sudo /usr/bin/security authorizationdb write com.apple.trust-settings.admin admin
you can edit the script as per your certificate and requirement. Also, if you can with the command to temporarily disable and re-enable the confirmation dialog for macOS sequoia then it will greatley helpful
Topic:
Business & Education
SubTopic:
Device Management
Tags: