Wednesday, November 2, 2016

Get the start and expiry dates of a SSL certificate in a server

To get the start and expiry dates of a SSL certificate in a server, do as follows:

openssl s_client -connect 1.2.3.4:443 | openssl x509 -noout -dates

No comments:

Post a Comment