Caddy certificates location and deletion

1. Caddy version (caddy version):

v2.0.0

2. How I run Caddy:

a. System environment:

Ubuntu 18.04 LTS

b. Command:

nohup caddy run --resume &

d. My complete Caddyfile or JSON config:

mydomain.tripkindle.com

root * /home/tripkindle
encode gzip zstd
try_files {path} {path}/ /index.html
file_server

3. The problem I’m having:

I cannot find where the certificates managed by Caddy are stored, since I want to test if I delete it, will Caddy request one again to make sure allowed domains remain automatically secured.

4. Error messages and/or full log output:

No error messages

5. What I already tried:

I read that the certificates are stored inside $HOME/.caddy but there isn’t a .caddy folder there. I’m logged in as root.

6. Links to relevant resources:

The answer you linked to is 3 years old. Did you look in the documentation?

1 Like

My oversight, thank you so much!

1 Like

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