sudo -s Got root?

29Dec/080

Checking expiration date for an SSL cert

Here is you how you check whether an SSL cert is valid and hasn't yet expired

1. Retrieve the certificate.

$ echo "" | openssl s_client -connect server:443 > certificate

2. Check the expiration date of the certificate.

$ openssl x509 -in certificate -noout -enddate

Or you can use ssl-cert-check or check-expire

Filed under: sys admin Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.