Skip to content

Instantly share code, notes, and snippets.

@nicerobot
Created November 24, 2018 04:50
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 nicerobot/28d5dcbf11a91d71be76522c296b21f5 to your computer and use it in GitHub Desktop.
Save nicerobot/28d5dcbf11a91d71be76522c296b21f5 to your computer and use it in GitHub Desktop.
openssl to dump site certificate
openssl s_client -connect ${1:-google.com}:${2:-443} </dev/null | openssl x509 -in /dev/stdin -noout -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment