How to check the expiration date of a ssl certificate?
To check a certificate of an host:
openssl s_client -servername your.domain -connect your.domain:443 2>&- | openssl x509 -enddate -noout | sed 's/^notAfter=//g'
To check a certificate file:
openssl x509 -noout -enddate -in your.crt | sed 's/^notAfter=//g'
This entry was posted on 2019/08/16, 12:43 and is filed under Server. You can follow any responses to this entry through RSS 2.0.
You can leave a response, or trackback from your own site.