![]() Security find-certificate -a -p /Library/Keychains/System.keychain Or to export the actual certificates in PEM format: security find-certificate -a -p ~/Library/Keychains/login.keychain-db Security find-certificate -a /System/Library/Keychains/SystemRootCertificates.keychain ![]() Security find-certificate -a /Library/Keychains/System.keychain For example to get an overview list: security find-certificate -a ~/Library/Keychains/login.keychain-db You can list the certificates in each of those keychains by using the built-in security command. The corresponding on macOS is the System Root Certificates keychain: /System/Library/Keychains/SystemRootCertificates.keychain On Windows you have the "Trusted Root Certification Authorities Certificate Store" that holds CA certificates trusted by the operating system in general. The corresponding on macOS would be the System keychain: /Library/Keychains/System.keychain On Windows you have the "Local Machine Certificate Store" that holds certificates added by users to be accessed by all users on the local computer. There's one for each user on the system, and stores the certificates relevant to that user only. The corresponding on macOS would be the user's login keychain: ~/Library/Keychains/login.keychain-db. On Windows you have for example the "Current User Certificate Store". The equivalent on macOS is the Keychain name.
0 Comments
Leave a Reply. |