Skip to content

Instantly share code, notes, and snippets.

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 hackingbutlegal/13bbbd7b975d2cbb596773b234c8b645 to your computer and use it in GitHub Desktop.
Save hackingbutlegal/13bbbd7b975d2cbb596773b234c8b645 to your computer and use it in GitHub Desktop.
Grabbing info about a remote site's SSL cert from the command line
echo | openssl s_client -showcerts -servername yourdomain[.]com -connect yourdomain[.]com:443 2>/dev/null | openssl x509 -inform pem -noout -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment