Verify expiration date for a local x509 certificate

Date: 2015-06-18

Use this command:

openssl x509 -noout -in /etc/pki/tls/certs/client.crt -dates

Output would be:

notBefore=Feb 20 16:20:08 2015 GMT
notAfter=Feb 20 16:20:08 2016 GMT



Thanks for reading this post!


If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!