Created
November 24, 2018 04:50
-
-
Save nicerobot/28d5dcbf11a91d71be76522c296b21f5 to your computer and use it in GitHub Desktop.
openssl to dump site certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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