How to check TLS/SSL certificate expiration date from command-line
You can check the expiration date of a TLS/SSL certificate from the command line using the “openssl” tool. Here’s an example command that checks the expiration date of a certificate for the domain “example.com”: openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates The “-connect” option specifies the domain and port to … Read more