Very simple Python script to list expiration dates of SSL certificates.
Example:
$ ./certificate-expires www.amazon.com www.heise.de www.example.com
www.amazon.com expires in 186 days
www.heise.de expires in 522 days
www.example.com expires in 355 days