Install login certificate

Raj_Jenkin
New Contributor

Hello Everyone,

I'm trying to push the login certificate and make it trusted automatically to 600 ++ MacBooks. Can anyone help to post a bash script?

3 REPLIES 3

PaulHazelden
Contributor III

Have you tried pushing it out directly from JAMF?
In Configuration Profiles, you can make a profile and install a certificate. Scope it out to the Macs and it should install it for you from JAMF.
There are Bash scripts out there to install a cert, but you would need to transfer a copy of the cert to each Mac, and then install it, and set it to trusted. Which can be done.

sdagley
Honored Contributor II

@Raj_Jenkin As of macOS Big Sur you can't do a scripted install of a certificate to the System keychain without triggering a user authentication prompt. Pushing a certificate as a computer level Configuration Profile works without that prompt.

Raj_Jenkin
New Contributor

Hello All,

Thank you for the suggestions. It works fine using profile.

Cheers!
Raj.