Difference between revisions of "Security add-trusted-cert"
Jump to navigation
Jump to search
(5 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 $HOME/Library/Keychains/login.keychain YOUR_Certificate</code> | |
− | </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
security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain YOUR_Certificate
(no output)
security add-trusted-cert -d -r trustRoot -k $HOME/Library/Keychains/login.keychain YOUR_Certificate
(no output)
See also[edit]
security (command)
,security list-keychains
,security unlock-keychain
,security find-identity
,security add-trusted-cert
,/Library/Keychains/
,security set-keychain-password
- macOS: macOS versions, iTerm2, Homebrew, FileVault, System Integrity Protection,
dscacheutil
,networksetup
, XNU kernel, APFS, diskutil, mdfind, Keychain Access, Growl, Activity Monitor, sidecar, macOS FHS, Apple Notification Center,sw_vers
, Spotlight,pbcopy
, MacOS application firewall,Applesimutils
, Automatic login,security (command)
,codesign
,spctl
, Alfred, Xcode,system_profiler
,log show
, MacOS Preview, Rectangle app, Finder, macOS: Shortcuts, SEP, osascript, macOS profile, UTM,softwareupdate, systemsetup, pmset
, macOS tips, macOS Dock, Automator, SIP, System Preferences,installer, cryptex
, AirPlay, macOs first setup, Universal Control, menu bar, IPSW
Advertising: