Currently, I deploy my root and intermediate certificates to my managed Macs using packages that stage the certs into /tmp and then import and trust the certs in the System Keychain with postinstall scripts. This has worked well over the years.
However, I'm wondering if this methodology is getting old-fashioned.
-What are the pros and cons of managing certificates via profiles VS packages?
-Are certificates that are installed via profile automatically trusted by the target Mac? My testing seems to get mixed results.
-If a certificate is installed via a profile but later needs to be removed from the target Mac (i.e.; the profile is unscoped/edited etc), is the actual certificate removed from the target Mac’s System Keychain? Or does removal require additional steps (scripts etc) to remove it?