Do the certificates get deleted automatically if a custom domain is not found?

1. Caddy version (caddy version):

Caddy v2

a. System environment:

Ubuntu 18

3. The problem I’m having:

I tried to look for the certificates in my $HOME/.local/share folder but there is no caddy folder!

Edit - Found the cert storage in /var/lib/caddy/.local/share, default path overwritten from caddy.service

  1. And also if my custom domain points to my server and get ssl issue, so if after 3 months I remove the DNS record of custom domain pointing to my main domain, do the cert files automatically gets deleted after failed tries?
1 Like

Expired certificates are removed from disk during regular certificate maintenance.

1 Like

Thankyou so much Whitestrake!!

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