SSL certificate location on Ubuntu Caddy v2

1. Caddy version (caddy version):


2. How I run Caddy:

I built it from source.

a. System environment:

Ubuntu 18.04

b. Command:

caddy start

c. Service/unit/compose file:

paste full file contents here

d. My complete Caddyfile or JSON config:

3. The problem I’m having:

I am not being able to find the location where caddy stores its ssl certificates. I want my web application to use them too.

4. Error messages and/or full log output:

5. What I already tried:

Looking in $CADDYPATH. There’s just a uuid file in there. I have searched for hidden files and folders as well.

6. Links to relevant resources:

It depends how you’re running it, based on whether you have XDG_DATA_HOME set or whatever user you run Caddy with’s HOME is set to.

Also FYI, they’re TLS certificates, SSL is the old deprecated term :wink:

1 Like

Thank you so much!

1 Like

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