Difference between revisions of "Security add-trusted-cert"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lowercase}}
  
 +
<code>security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain YOUR_Certificate</code>
 +
(no output)
  
* <code>security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain YOUR_Certificate</code>
+
<code>security add-trusted-cert -d -r trustRoot -k $HOME/Library/Keychains/login.keychain YOUR_Certificate</code>
* <code>security add-trusted-cert -d -r trustRoot -k $HOME/Library/Keychains/login.keychain YOUR_Certificate</code>
+
(no output)
  
 
https://apple.stackexchange.com/questions/80623/import-certificates-into-the-system-keychain-via-the-command-line
 
https://apple.stackexchange.com/questions/80623/import-certificates-into-the-system-keychain-via-the-command-line

Latest revision as of 10:46, 6 October 2021

Advertising: