Comments (4)
Hello @bluepuma77,
Thank you for the suggestion.
Before moving forward on it, I'd like to have more information on your use case.
When we designed the certificate integration into the File provider, we faced an issue that led us to the configuration we proposed and explained why we haven't provided a more automated mechanism.
I'd like to know how this issue can be solved with your proposal.
With the current solution, each cert is attached to one key to avoid checking every possible pair before validating a certificate. If we set only the directory, we lose this behavior which can lead to an overload each time the directory's content is updated and which allows providing "orphan" certificates.
On top of that, in the file provider, the directories are checked recursively, which can increase the amount of time to check the certificates.
How do you think we can mitigate such a behavior?
from traefik.
I'd like to have more information on your use case.
Use case is simple: I have many domains and sub-domains that go through Traefik. More to come. It would be a lot easier for me to just add the cert files (paid or certbot), than additionally also updating the dynamic config file for each pair.
I agree that the loading is a bit more work than just loading dynamic files, as you have the dependency. I would just load all cert files, then for each cert load the according key file and if both are okay, only then add it to the configuration.
Not sure if this is blocking or can be done in an independent thread. I just read on the community forum for the first time that someone seems to have a blocking issue with TLS (link).
from traefik.
I just played around with ansible and certbot and I get a bunch of files for each domain:
- domain.tld.crt
- domain.tld.issuer.crt
- domain.tld.json
- domain.tld.key
So its probably saver to start by finding all .key
files and then check for according .crt
.
from traefik.
Hello @bluepuma77,
Thank you for the additional information.
I'll share them with the other maintainers during our next triage.
from traefik.
Related Issues (20)
- Run Traefik as windows native service
- Body truncation issue in traffic plugin under certain conditions HOT 1
- Support custom tailscale socket path HOT 5
- customRequestHeaders always overwrite exist header value HOT 1
- traefik 3.0 does not find services on swarm with new syntax HOT 10
- AutoUpdate to V3.0.0, docker won't start, swarmModeRefreshSeconds field not found HOT 3
- Traefik v3 breaks Kubernetes Ingress Prefix Path Regex HOT 6
- v3 breaks TCP route HostSNI having multiple entries HOT 4
- Warning when ExternalName service loading is enabled HOT 2
- Prefer IPv6 option for Service Loadbalancer URL HOT 1
- Issue warning when configuration incompatible with sticky session option is provided HOT 1
- TLS is not working after v3 upgrade HOT 3
- Traefik v3.0.0 breaks video streams HOT 13
- Traefik v3.0 Let's encrypt TLS Challenge failing when behind a traefik TCP Router HOT 3
- Traefik 3.0 no middleware found in the cluster HOT 1
- HTTP/3 not working HOT 1
- maxResponseBodyBytes exceed doesn't change response code to 500 HOT 3
- Entrypoint redirections not working with defaultRuleSyntax=v2 in v3.0.0 HOT 1
- RedirectRegex broken since update to v3.0 HOT 11
- Official standalone Grafana dashboards need to be updated as of Traefik v3.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traefik.