aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/ssl
blob: f89777e139d2c7aa7134831518f07c2d8ddfbddf (plain)
1
2
3
echo | openssl s_client -servername NAME -connect HOST:PORT 2>/dev/null | openssl x509 -noout -dates

https://www.shellhacks.com/openssl-check-ssl-certificate-expiration-date/