Home > Bash, Linux, Sysadmin > Checking SSL certificate expiry dates

Checking SSL certificate expiry dates

This is just a quick note to save this useful bit of information. I may make in to a script one day or use it in something else.

1
echo ''|openssl s_client -connect localhost:636 2>/dev/null | openssl x509 -noout -enddate | sed 's/^not.*\=//'
  1. No comments yet.
  1. No trackbacks yet.

Spam Protection by WP-SpamFree