Can I monitor domain certificate expiry date from Caddy?

Where Caddy is saving the INFO data for each domain name so it know when to renew it for example?
I want to monitor the domains under Caddy so I will make sure everything is working for all domains all the time.


1 Like

The NotAfter date is encoded into each certificate in storage. So you could read the cert from storage.

But a more practical and actionable approach would be to just make a TLS connection to the server and get the NotAfter date off the certificate that is presented. Services like and can do this for you!

Nice. You gave me a lot of options. Thank you!

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.