Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple HTTPS entry points with ACME LetsEncrypt DNS in Traefik

Tags:

traefik

I have successfully configured ACME / LetsEncrypt to use DNS challenge, but I'm still unable to create multiple HTTPS / TLS entry points on different ports (443 and 8443) using guidance from this post.

Error creating TLS config: No certificates found for TLS entrypoint https8443

Here is the relevant section of my config:

defaultEntryPoints = ["http", "https443"]

[entryPoints]

  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https443"

  [entryPoints.https443]
  address = ":443"
    [entryPoints.https443.tls]

  [entryPoints.https8443]
  address = ":8443"
    [entryPoints.https8443.tls]

[acme]
email = "[email protected]"
storage = "/path/to/acme.json"
onHostRule = true
dnsProvider = "cloudflare"
#delayDontCheckDNS = 0
entryPoint = "https443"

[[acme.domains]]
  main = "example.com"
  sans = ["a.example.com", "b.example.com"]
like image 582
Andrew Bucklin Avatar asked Jul 18 '26 18:07

Andrew Bucklin


1 Answers

After analyzing deeper the behavior of ACME into Træfik, it seems to be impossible, for the moment, to share an ACME certificate between differents entryPoints.

Indeed, ACME certificates will be linked to the entryPoint given in the configuration.

like image 106
nmengin Avatar answered Jul 21 '26 14:07

nmengin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!