4

Tip #529   Check SSL certificate dates

echo | openssl s_client -connect www.google.com:443 2>/dev/null |openssl x509 -dates -noout

Remotely connects to an https site, fetches the SSL certificate and displays the valid dates.