Skip to content

Instantly share code, notes, and snippets.

@vpack
Last active August 29, 2015 14:15
Show Gist options
  • Save vpack/020306e79462ac302f20 to your computer and use it in GitHub Desktop.
Save vpack/020306e79462ac302f20 to your computer and use it in GitHub Desktop.
View certificate
openssl s_client -connect host.example.com:443
# To pull Subject Alternate Names
openssl s_client -connect google.com:443 2>&1 | openssl x509 -text | grep DNS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment