Created
August 1, 2011 13:53
-
-
Save timmow/1118156 to your computer and use it in GitHub Desktop.
Extract SSL certificate and output information
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
# Extract SSL certificate and output information | |
openssl s_client -connect secure.yui.ipcdigital.co.uk:443 > logfile | |
# Type QUIT then enter | |
# Edit logfile and remove all except lines between BEGIN certificate and end certificate | |
openssl x509 -inform PEM -in logfile -text -out certdata | |
cat certdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment