Show SSL certificate expiration date from an encoded certificate

Prints the SSL cert expiration date from a PEM encoded certificate. The output is of the form `notAfter=Nov 3 22:23:50 2014 GMT`.

Authored by: that other guy
cert_file

Command
Copy
openssl x509 -enddate -noout -in cert.pem
Tags