How to change location of certificates in Caddy

Caddy version (caddy version):

v2.4.6 h1:HGkGICFGvyrodcqOOclHKfvJC0qTU7vny/7FhYp9hNw=

2. How I run Caddy:

caddy start

a. System environment:

Ubuntu Server 21.10

I am trying to change the the storage location of Caddy certificates to be a Samba share path as I also have a Raspberry Pi running my Jellyfin server and i wanted both instances of caddy on my Ubuntu Server and Raspberry Pi to share one central location to manage certificates.

I am unsure of how to change or set the path that Caddy uses for the certificates.

Below is a rough idea that i was thinking to implement in my Caddyfile as a global option in both instances.

Storage “module”: “/path/to/store/certificates”
“root”: “/path/to/store”

1 Like

To change the storage location, it’s just this:

	storage file_system /path/to/store/certificats

I agree the docs could be clearer on this.


Well I feel silly, I appreciate your help greatly!


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