3 ms·
If I am not misunderstanding (sorry if I am) it sounds like you use the http challenge where your cert provider tries to GET your challenge file — if so, could
by jackweirdy 2y ago
If I am not misunderstanding (sorry if I am) it sounds like you use the http challenge where your cert provider tries to GET your challenge file — if so, could the DNS challenge be better suited? There, you put the challenge in a TXT record value
- rglullis 2y agoYou got it, but your solution won't work because of one detail: I can not use the DNS challenge because I am running a managed service provider, and my customers are the ones who own the domain. All I can do is ask them "please add a CNAME to my gateway", and I need to figure out everything else on my side.
- jspdown 2y agoIt might not be suitable for your use case but, have you tried ACME DNS challenge delegation to a different one hosted by yourself?
- francislavoie 2y agoSounds like you're looking for Caddy's On-Demand TLS, then. No other server or ACME client does this. https://caddyserver.com/docs/automatic-https#on-demand-tls https://caddyserver.com/docs/automatic-https#on-demand-tls
- arccy 2y agoACME supports Delegated Domains for DNS01: _acme-challenge.customer.com IN CNAME _acme-challenge.your-automated-domain.org.
- rglullis 2y agoThat sounds interesting. Do you literally mean that I should use _acme_challenge or were you giving an example? In concrete terms: to set up an instance for a customer, I've been asking them to set their domain with a CNAME to "gateway.communick.host", where I have traefik already configured with one TLS HTTP resolver and one DNS resolver. and I've been using the HTTP resolver one. Are you saying that I can just configure to use the DNS resolver and it will work, or do I need to tell my customers to add another record for the delegation to work?