KB Article #176536
Check the validity dates of a certificate
How to verify, using openssl, between which dates a certificate is valid.
Resolution
Execute the following in command line:
openssl s_client -connect <host>:<port> 2>/dev/null </dev/null | openssl x509 -noout -dates
Example of the command and of the output:
openssl s_client -connect support.axway.com:443 2>/dev/null </dev/null | openssl x509 -noout -dates
notBefore=Dec 13 00:00:00 2013 GMT
notAfter=Jan 3 23:59:59 2016 GMT