-bash-3.2# echo | openssl s_client -connect starcat:443 2>/dev/null | openssl x509 -noout -issuer -subject -dates issuer= /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA subject= /C=US/ST=California/L=Santa Clara/O=ABC Company, Inc./CN=*.abc.com notBefore=Dec 9 00:00:00 2013 GMT notAfter=Feb 23 12:00:00 2017 GMT -bash-3.2# echo | openssl s_client -connect unix:443 2>/dev/null | openssl x509 -noout -issuer -subject -dates issuer= /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA subject= /C=US/ST=California/L=Santa Clara/O=ABC Company, Inc./CN=*.abc.com notBefore=Dec 9 00:00:00 2013 GMT notAfter=Feb 23 12:00:00 2017 GMT
Monday, April 20, 2015
How to check SSL Certificate information from a Linux server?
Labels:
apache,
certificate,
How-to series,
http,
HTTPS,
Linux fundamentals,
openssl,
Security,
SSL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment