News for hackers. Stuff that matters.
Re:Take a look at traefik, even if you don't use containers by jackweirdy on Sunday May 05, 2024 @01:09PM (#40266400)
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
Re:Take a look at traefik, even if you don't use containers by rglullis on Sunday May 05, 2024 @01:43PM (#40266670)
You 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.
Re:Take a look at traefik, even if you don't use containers by jspdown on Sunday May 05, 2024 @03:23PM (#40267429)
It might not be suitable for your use case but, have you tried ACME DNS challenge delegation to a different one hosted by yourself?
Re:Take a look at traefik, even if you don't use containers by francislavoie on Sunday May 05, 2024 @07:30PM (#40269573)
Sounds 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
Re:Take a look at traefik, even if you don't use containers by arccy on Monday May 06, 2024 @05:54AM (#40272924)
ACME supports Delegated Domains for DNS01:

    _acme-challenge.customer.com IN CNAME _acme-challenge.your-automated-domain.org.
Re:Take a look at traefik, even if you don't use containers by rglullis on Monday May 06, 2024 @09:28PM (#40281323)
That 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?