Created
June 28, 2020 18:13
-
-
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
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
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