Derived from: http://giantdorks.org/alain/shell-script-to-check-ssl-certificate-info-like-expiration-date-and-subject/
Last active
August 29, 2015 14:17
-
-
Save adam-p/674334ef5224462d9a30 to your computer and use it in GitHub Desktop.
Command to get remote certificate info
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 -showcerts -connect example.com:443 < /dev/null | openssl x509 -noout -text -certopt no_header,no_version,no_serial,no_signame,no_pubkey,no_sigdump,no_aux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment