Last active
May 4, 2018 16:51
-
-
Save judge2020/96a8f6201820eb0fdd74ae091bc4908e to your computer and use it in GitHub Desktop.
checkcert.sh
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
# usage: sh checkcert.sh www.google.com | |
echo | openssl s_client -showcerts -servername $1 -connect $1: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