How to check SSL certificate expiration date from a certificate file


OpenSSL command is a very powerful command to check certificate info in Linux.

We can use the following command to check the expiration date.


openssl x509 -enddate -noout -in file.cer

 Example:

openssl x509 -enddate -noout -in server_funebs122.cer






If you like please follow and comment