我在虚拟主机上有一个域,在 Digital Ocean 上有一个子域。我正在尝试使用 traefik.toml 中的 acme 配置来注册 LetsEncrypt SSL 证书。
[acme]
email = "myemail@pirion.net"
storage = "acme.json"
entryPoint = "https"
OnHostRule = true
Run Code Online (Sandbox Code Playgroud)
日志提供以下错误:
time="2018-01-12T03:25:37Z" level=debug msg="LoadCertificateForDomains [endpoint.pirion.net]..."
time="2018-01-12T03:25:37Z" level=debug msg="Look for provided certificate to validate [endpoint.pirion.net]..."
time="2018-01-12T03:25:37Z" level=debug msg="No provided certificate found for domains [endpoint.pirion.net], get ACME certificate."
time="2018-01-12T03:25:37Z" level=debug msg="Loading ACME certificates [endpoint.pirion.net]..."
time="2018-01-12T03:25:37Z" level=error msg="map[endpoint.pirion.net:[endpoint.pirion.net] acme: Could not determine solvers]"
time="2018-01-12T03:25:37Z" level=error msg="Error getting ACME certificates [endpoint.pirion.net] : Cannot obtain certificates map[endpoint.pirion.net:[endpoint.pirion.net] acme: Could not determine solvers]+v"
Run Code Online (Sandbox Code Playgroud)
我无法找到有关求解器的更多信息。我需要在我的设置中添加一些内容吗?
看来要修复此错误,您需要指定您正在使用httpchallenge:
[acme]
# ...
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
Run Code Online (Sandbox Code Playgroud)
截至撰写本文时,这个问题最近已得到修复,因此您可能需要比现在使用的更新版本(1.5)的 traefik。
| 归档时间: |
|
| 查看次数: |
5844 次 |
| 最近记录: |