add option for self signed or provided certificate #37
Closed
opened 2022-08-21 14:07:13 +00:00 by yksflip
·
6 comments
No Branch/Tag Specified
master
renovate/traefik-3.x
adding-matrix-room
pgsql-port-open
access-log
anubis-metrics
forwarded-headers
trust-forward-header
large-uploads
anubis-log-level
compose.matrix
garage
chore-5.0.0+v3.6.10
feat-release-notes-next
add-onion-support
remove-default-timeout
feat-pull-request-template
improve-docs
anubis
sixsmith-v3-update-only
feature/irc
revert-logmaxAge
qbit
feature/v3
error-pages-again
metrics
basic-auth
error-messages-attempt
error-pages-attempt
minecraft
forward-auth-2
error-pages
rejig-compose-vars
self-signed
6.1.0+v3.7.10
6.0.0+v3.7.7
5.1.1+v3.6.15
5.1.0+v3.6.11
5.0.0+v3.6.10
4.0.0+v3.6.10
3.10.0+v3.6.7
3.9.0+v3.6.5
3.8.0+v3.6.5
3.7.0+v3.6.2
3.6.3+v3.4.5
3.6.2+v3.4.5
3.6.1+v3.4.5
3.6.0+v3.4.5
3.5.0+v3.4.5
3.4.2+v3.4.5
3.4.1+v3.4.5
3.4.0+v3.4.4
3.3.0+v2.11.26
3.2.0+v2.11.25
3.1.1+v2.11.25
3.1.0+v2.11.24
3.0.0+v2.11.22
2.10.0+v2.11.22
2.9.1+v2.11.14
3.1.0+v2.11.14
2.9.0+v2.11.14
2.8.0+v2.11.10
2.7.0+v2.11.8
3.0.0+v3.0.0
2.6.3+v2.11.2
2.6.2+v2.11.1
2.6.1+v2.11.0
2.6.0+v2.11.0
2.5.0+v2.11.0
2.4.3+v2.10.5
2.1.0+v2.9.9
2.4.2+v2.10.4
2.4.1+v2.10.3
2.4.0+v2.10.1
2.3.1+v2.10.2
2.3.0+v2.10.2
2.2.0+v2.10.2
2.2.0+v2.10.1
2.0.4+v2.9.6
2.0.3+v2.9.6
2.0.2+v2.9.5
2.0.0+v2.9.1
1.1.1+v2.8.1
1.1.0+v2.8.0
1.0.1+v2.5.6
1.0.0+v2.5.2
No labels
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
decentral1se (d1)
fauno (fauno)
javielico (Javielico)
jjsfunhouse
kawaiipunk (KawaiiPunk)
knoflook
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
renovate-bot (Comrade Renovate Bot)
simon
stevensting
trav (Trav Fryer)
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/traefik#37
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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/stagingresolver 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=stagingin 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!