Checking SSL certificate expiry dates
June 1st, 2011
No comments
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.*\=//' |