Created
November 10, 2015 02:17
-
-
Save hkparker/051558c6e2d2051b8b66 to your computer and use it in GitHub Desktop.
View remote TLS certs in the terminal
This file contains hidden or 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
| #!/bin/bash | |
| openssl s_client -connect $1:$2 < /dev/null 2>/dev/null | openssl x509 -noout -text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment