Sample Header Ad - 728x90

adding certificate to the trusted list in macOS keychain - commandline vs GUI

1 vote
1 answer
148 views
I was wondering if there's any difference between adding trusted certificate from commandline :
security add-trusted-cert -d -r trustRoot ~/c1.cer
and opening the certificate in the keychain UI an mark it as "always trust". I've got an application that fail on server certificate validation when I mark the server's published certificates as valid from GUI but passes when I do the same from commandline.
Asked by Irad K (161 rep)
Sep 30, 2024, 10:27 AM
Last activity: Jun 27, 2025, 10:03 PM