Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACME] DNS Challenge not working together with HTTP Challenge #3302

Closed
gbhrdt opened this issue May 10, 2018 · 2 comments
Closed

[ACME] DNS Challenge not working together with HTTP Challenge #3302

gbhrdt opened this issue May 10, 2018 · 2 comments

Comments

@gbhrdt
Copy link

gbhrdt commented May 10, 2018

We are using ACME for all our certificates and it's been a huge helper.

The DNS Challenge is only needed for our wildcard certificate of our main domain (funnelcockpit.com). Many of our customers have their own subdomain and due to rate limiting from Lets Encrypt we are forced to use a wildcard certificate.

Also, lots of customers are using their own domain instead of our subdomain. We use the ACME onDemand rule for this and it's working very well. But we need to use the HTTP challenge, because we do not have access to our customer's DNS records. Unfortunately it's not compatible with the DNS challenge :-(.

We need both - HTTP and DNS challenge working together.
In my opinion the DNS challenge should only be used with the domains inside the acme.domains section. All other domains should use the HTTP challenge.

example config with dns and http challenge enabled:

defaultEntryPoints = ["https","http"]

[file]
watch = true

[entryPoints]
  [entryPoints.http]
  address = ":80"
  compress = true
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
  compress = true
  [entryPoints.https.tls]

[acme]
email = "[..]@example.org"
storage = "/certs/acme.json"
entryPoint = "https"
onDemand = true
onHostRule = true
acmeLogging = true

[[acme.domains]]
  main = "*.funnelcockpit.com"
  sans = ["funnelcockpit.com"]

[acme.dnsChallenge]
  provider = "cloudflare"
  delayBeforeCheck = 0

[acme.httpChallenge]
  entryPoint = "http"
@traefiker
Copy link
Contributor

Hi! I'm Træfiker 🤖 the bot in charge of communication regulation.

Thanks for your interest in Træfik!

Issue templates help us help you by providing all necessary information.

Please edit your issue and use the available templates:

And remember: each time someone ignores the template, a cute little bunny dies.

#SaveTheCuteBunny ❤️ 🐰 ❤️

southpark - estrella kill rabbit

southpark - estrella kill rabbit2

@nmengin
Copy link
Contributor

nmengin commented May 24, 2018

I close the issue in favor of #3378

@nmengin nmengin closed this as completed May 24, 2018
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants