-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trusted_leaf_certs
functionality after its deprecation in Caddyfile
#6771
Comments
Now you use Please ask your usage questions on the Caddy community forums. We prefer to keep the GitHub issue board for bugs and feature requests. Don't forget to fill out the thread template so we can help you! |
Neither the linked documentation makes my use case clear, nor is it possible to sign up to the community forum atm. There is no sign up button and https://caddy.community/signup, which I only found through a search engine, forwards to https://caddy.community/latest without the possibility to sign up. How am I supposed to use it? |
We've been trying different tactics on and off to combat huge spam attacks (hundreds of posts in minutes), so apologies if access is a bit difficult lately. Follow the docs linked above, they'll lead you to configuring a specific module: https://caddyserver.com/docs/caddyfile/directives/tls#trust-pool-providers |
Thx. I read this part of the documentation quite a few times, searched via Google and the community forum. Already took me quite a few hours. It is nevertheless unclear to me how to use it to only allow some specific leaf certificates. The way I understood it, 'trust_pool' is only used to specify CAs:
Then there is 'verifier' mentioned on the same site, but no documentation on how to use it in a Caddyfile or whether it even provides this functionality. |
Depending on your setup and use case, you can either use |
Sorry to be this persistent, but it is still completely unclear on how to do this in a Caddyfile. If you could just provide a minimal Caddyfile example with a leaf certificate file path? Tried a few things and the leaf verifier does not seem to be available via Caddyfile, at least this is what the error message |
Oops 🤐 This is my bug. Sorry. The deprecated directive isn't removed yet, so you can keep using it for now, at least until I fix this tiny gap. |
Hey,
I would like to only allow clients with certain client leaf certificates to access some services. Unfortunately
trusted_leaf_certs
is deprecated and I could not find a way to get this working without it via Caddyfile. Can anyone point me into the right direction?Thx and best regards,
PhysicsIsAwesome
PS: I tried to sign up for caddy.community to ask this question instead of opening an issue, but could not find a way to sign up.
The text was updated successfully, but these errors were encountered: