Created
April 14, 2015 21:06
-
-
Save barn/d79ec61526d32f977501 to your computer and use it in GitHub Desktop.
dumping osx system certs to a PEM file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ohessten% security find-certificate -a /System/Library/Keychains/SystemRootCertificates.keychainc >osx_system_roots.pem | |
ohessten% /path/to/homebrew/bin/openssl s_client -CAfile osx_system_roots.pem -verify 5 -connect sketchy.example.org:443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment