Basically:
- Installer puts the certificate file to /private/tmp
- I use /usr/bin/security in postflight script to add the certificate to System.keychain
The command I use in postflight script is:
/usr/bin/security add-trusted-cert -d -r trustRoot -k "/Library/Keychains/System.keychain" /private/tmp/theCert.pem
I'm not sure what else you need to do for your specific needs but the above workflow worked for me. It just basically imports the certificate to the system keychain and marks it as trusted.
--
Hannes Juutilainen
University of Jyväskylä
> --
> You received this message because you are subscribed to the Google Groups "munki-dev" group.
> To post to this group, send email to munk...@googlegroups.com.
> To unsubscribe from this group, send email to munki-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/munki-dev?hl=en.
>