Skip to content

Instantly share code, notes, and snippets.

@barn
Created April 14, 2015 21:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barn/d79ec61526d32f977501 to your computer and use it in GitHub Desktop.
Save barn/d79ec61526d32f977501 to your computer and use it in GitHub Desktop.
dumping osx system certs to a PEM file
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