Skip to content

Instantly share code, notes, and snippets.

@lopespm
Created February 14, 2018 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lopespm/9dd2639be43ec61e8f452f9cbae131cd to your computer and use it in GitHub Desktop.
Save lopespm/9dd2639be43ec61e8f452f9cbae131cd to your computer and use it in GitHub Desktop.
Use openSSL to verify a server's certificate
# In OSX, export all your root certicates through Keychain to "Certificates.pem" (for example)
openssl s_client -CAfile Certificates.pem -connect learnbreak.com:443 -servername learnbreak.com | openssl x509 -noout -subject -issuer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment