This article help you to check certificate expiry date from Linux command line using openssl utility.

Check SSL certificate expiration date

Syntax: openssl x509 -enddate -noout -in <certificate name>
e.g.
openssl x509 -enddate -noout -in ceritificate_file.pem
openssl x509 -enddate -noout -in server.crt
(Visited 4,094 times, 157 visits today)