osx - Set imported certificate to always be trusted in Mac OS X -


i have generated certificate in pfx format in mac os x , imported system keychain using:

sudo security import server.pfx -k /library/keychains/system.keychain -p foobar 

the problem trusts set no value specified.

enter image description here

how can set trust code signing always trust using command line.

the -p option may need. can specified more once each of settings. wish knew how deny 1 specific item while trusting in same line.

sudo security add-trusted-cert -d -r trustroot -p [option] -k /library/keychains/system.keychain <certificate>

-p options ssl, smime, codesign, ipsec, ichat, basic, swupdate, pkgsign, pkinitclient, pkinitserver, timestamping, eap


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -