How To Find Website SSL Certificate Expiry Date Using Command Line

https://serverfault.com/questions/661978/displaying-a-remote-ssl-certificate-details-using-cli-tools

echo | openssl s_client -showcerts -servername stampme.com -connect stampme.com:443 2>/dev/null | openssl x509 -inform pem -noout -text | grep "Not After"