Quick check ssl crt

Розділи: 

Check crt file:
$ openssl x509 -in site.crt -text -noout | grep Not
Not Before: Dec 5 11:54:00 2019 GMT
Not After : Dec 1 11:54:00 2034 GMT

Check ssl certificate online:
$ echo | openssl s_client -showcerts -servername gnu.org -connect gnu.org:443 2>/dev/null | openssl x509 -inform pem -noout -dates
notBefore=Dec 14 10:03:25 2019 GMT
notAfter=Mar 13 10:03:25 2020 GMT