add option for self signed or provided certificate #37
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think it would be really cool to have a option to use a self-signed or provided certificate instead of acme.
We realised it's difficult to use the traefik recipe in local-area environments or local testing without public ip address.
Big ol' plus one from me. This would be extremely useful.
Seems you'd to drop back to the file provider method for this over in https://doc.traefik.io/traefik/https/tls/#user-defined (see https://docs.coopcloud.tech/operators/handbook/#proxying-apps-outside-of-co-op-cloud-with-traefik for more). Not sure how you'd turn off the default tls
production
/staging
resolver configuration tho? Maybe just dropping that label? Would need some testing and fiddling around for sure.Just running Traefik locally without any certificates is pretty handy btw https://doc.traefik.io/traefik/getting-started/quick-start/ but our setup just prioritises "production" mode. There could be ways to have a "local-first" Traefik config?
I have a WIP for this which is working for me. See coop-cloud/traefik#45
Note the caveat: I did not specifically change the labels to disable the cert resolver, but either do that or set
LETS_ENCRYPT_ENV=staging
in your config. (Also, using trafik:v2.10.7, but I doubt this effects anything - haven't checked the changelog to be sure though.)Left a review: #45 (comment)
Any more eyeballs on the change set? Would be much appreciated folks.
Marking as no longer WIP. I also updated the commit history to use the e.g. feat: etc.
Side note: while I stepped up to 2.10.7, 2.11.0 has a release candidate with one deprecation (IPWhiteList -> IPAllowList).
!45 has been merged, woohoo!