Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Move hardcoded certificated to redis #54

Open
renodesper opened this issue Jan 9, 2024 · 2 comments
Open

Move hardcoded certificated to redis #54

renodesper opened this issue Jan 9, 2024 · 2 comments

Comments

@renodesper
Copy link

Currently, I put the certificate on the server like this:

*.example.com {
        ...
        tls /etc/caddy/ssl/example.crt /etc/caddy/ssl/example.key
}

If I want to put the certificate on the redis using caddy-tlsredis, what should I put on the config? Can you give me an example? Thank you.

@francislavoie
Copy link

It's not possible via Caddyfile but you may use the load_storage loader via JSON config https://caddyserver.com/docs/json/apps/tls/certificates/load_storage/

@renodesper
Copy link
Author

Can you give me an example of using the load_storage? I still don't get how can I achieve it using that method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants