openssl: add certificate expiry checking (#2946)

This commit is contained in:
Jean-Philippe Evrard
2019-04-29 14:29:12 +02:00
committed by Lucas Gabriel Schneider
parent b264b0a948
commit a4e73ea757

View File

@@ -18,6 +18,10 @@
`openssl x509 -in {{filename.crt}} -noout -text`
- Display a certificate's expiration date:
`openssl x509 -enddate -noout -in {{filename.pem}}`
- Display the start and expiry dates for a domain's certificate:
`openssl s_client -connect {{host}}:{{port}} 2>/dev/null | openssl x509 -noout -dates`