One-Liner For Verifying Cert Validity
Here’s a handy openssl one-liner for verifying SSL cert validity periods:
openssl s_client -connect <fqdn>:443 | openssl x509 -text | grep -i -A3 validity
The output will include a section like:
Validity
Not Before: MMM dd hh:mm:ss yyyy
Not After: MMM dd hh:mm:ss yyyy
2 Notes/ Hide
-
mikeberggren posted this