mehov / debian-automation

A few scripts to automate most common Debian setups
0 stars 0 forks source link

alert if cert is expiring #78

Open mehov opened 4 years ago

mehov commented 4 years ago

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

openssl s_client -showcerts -connect www.example.com:443 2>/dev/null | openssl x509 -noout -dates
mehov commented 4 years ago

https://stackoverflow.com/questions/36609136/how-to-check-expiry-date-of-remote-ssl-certificates