我已成功配置ACME / LetsEncrypt以使用DNS质询,但我仍然无法使用this post的指导在不同的端口(443和8443)上创建多个HTTPS / TLS入口点。
创建TLS配置时出错:找不到TLS入口点的证书 https8443
以下是我配置的相关部分:
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 = "user@example.com"
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"]
答案 0 :(得分:3)
在深入分析ACME进入Træfik的行为后,目前似乎不可能在不同的entryPoints之间共享ACME证书。
实际上,ACME证书将链接到配置中给出的entryPoint。