gpt4 book ai didi

traefik - Traefik 中使用 ACME LetsEncrypt DNS 的多个 HTTPS 入口点

转载 作者:行者123 更新时间:2023-12-02 15:18:39 26 4
gpt4 key购买 nike

我已成功配置 ACME/LetsEncrypt 以使用 DNS 质询,但我仍然无法使用 this post 的指导在不同端口(443 和 8443)上创建多个 HTTPS/TLS 入口点.

Error creating TLS config: No certificates found for TLS entrypoint 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"]

最佳答案

在对 Træfik 中的 ACME 行为进行更深入分析后,目前看来不可能在不同的入口点之间共享 ACME 证书。

事实上,ACME 证书将链接到配置中给定的入口点。

关于traefik - Traefik 中使用 ACME LetsEncrypt DNS 的多个 HTTPS 入口点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47277489/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com