Fast, Easy, Cheap: Pick One

Just some other blog about computers and programming

Quickly Check SSL Certificate Expiry From the Command Line

A quick little snippet to check when an SSL certificate on a remote server is expiring:

openssl s_client -connect | openssl x509 -noout -enddate

Works for any kind of SSL service, not just SMTP.