Hacker News new | ask | show | jobs
by mg 1597 days ago
I use certdays for it:

https://github.com/no-gravity/certdays

Works with any monitoring system. For example if you want your tests to fail if the cert for a domain is valid for less that 14 days, you put this in your tests:

certdays.sh somedomain.com 14