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
Brought to you by Warp, a free terminal reimagined to work like a modern app.
cert_file

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