I’m reading through many support articles some of which are old and closed trying to figure out the best approach to store certificates when multiple servers are being used behind a load balancer for automatic HTTPS. (Automatic HTTPS — Caddy Documentation).
My main question is, is there a way to use something like Amazon S3 bucket to store the Let’s Encrypt certificates? In the storage docs I’m not seeing any other details other than fileSystem.
I don’t think there are any other storage plugins implemented yet, but that might be possible to implement.
If you’re proficient in Go, you could write a plugin to do this:
If that’s not possible, you could also use something like CEPH or GlusterFS to share the filesystem between machines, then point Caddy to use that storage instead.
I am stepping in the conversation since I was wondering a similar question today.
I have a Redis instance in my Docker stack I use for caching and queueing a Laravel PHP app. If I use Redis for storing TLS certificates, I guess I should install this extension with the Caddy builder image.
And then is there something specific to configure with the API? What should I put as a value in the storage field?