Posted on 06-11-2009 12:49 AM
Hi-
Does anyone know a scriptable way to set certificate trust level? I'm automating the installation of our root CA onto managed macs and can successfully install them, I now just need to set trust level. I don't see a way to do it with certtool on the command line.
Thanks
j
---
Jared F. Nichols
Desktop Engineer, Infrastructure and Operations
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436
Posted on 01-09-2012 10:44 AM
/usr/bin/security will add a trusted cert to the keychain. I used it when deploying MSN Messenger a few years ago when it was still hard-coded to look in the X509Anchors keychain. *pita*
You can see an example of how that would work on the last line of JAMF's importCAcert.sh script.
https://jamfnation.jamfsoftware.com/viewProductFile.html?id=135&fid=459
Posted on 01-09-2012 11:54 AM
Holy cow this is an old post. Yeah I figured this out years ago.