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!


Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!