Creating a package for System Certificates?

cpizanias
Contributor

Hi all,

I'm looking to create an installer for my setup process that would install certificates in the System keychain and set them to always trusted. What would be the best way to create such a .pkg?

3 REPLIES 3

maurits
Contributor
Contributor

I would suggest to use a profile with the payload a certificate. If needed you can download the profile to install without enrollment.

chrisB
Contributor

Check the following answer:

https://www.jamf.com/jamf-nation/discussions/22294/adding-a-certificate-to-the-system-keychain-set-to-always-trust

gachowski
Valued Contributor II

I have read someplace that Apple has deprecated using the CLI to add certs... That said I couldn't find it so I could be totally wrong..

As I typed this I think it's in the Catalina documentation from Apple or a WWDC presentation..

Sorry but that my long way of saying "got to start using an MDM/Config Profile.."

C