inside Habbie's mind

SSL certificate expiration

written by peter, on Apr 24, 2006 8:37:00 AM.

A simple oneliner that I’ve had to look up three times now, so I’m blogging it:

openssl s_client -connect secure.gay.nl:443 | 
   openssl x509 -noout -dates

Comments

  • thx, I know this will come in handy one day :)

    Comment by Sinister| — May 2, 2006 10:59:47 PM | # - re

  • I wrote a shell script to automate this, and posted it here: http://daemons.net/~matty/articles/checkcertificate.html In addition to printing expiration data, it can be configured toe-mail you prior to a certificate expiring. - Ryan

    Comment by Matty — May 25, 2006 1:31:59 AM | # - re

  • And thnx :) I needed to verify a certificate. Google didn’t help but I remembered this page ;)

    Comment by r3boot — Sep 21, 2007 8:24:49 AM | # - re

Leave a Reply