尝试获取 LetsEncrpyt 证书时出错 "acme: Could not determine solvers"
Error "acme: Could not determine solvers" when trying to get a LetsEncrpyt cert
我在虚拟主机上有一个域,在 Digital Ocean 上有一个子域。我正在尝试使用 traefik.toml.
中的 acme 配置注册 LetsEncrypt SSL 证书
[acme]
email = "myemail@pirion.net"
storage = "acme.json"
entryPoint = "https"
OnHostRule = true
日志提供以下错误:
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"
我找不到太多关于求解器是什么的信息。我需要在我的设置中添加什么吗?
这是由于 Let's Encrypt 问题:
- https://community.letsencrypt.org/t/2018-01-09-issue-with-tls-sni-01-and-shared-hosting-infrastructure/49996
- https://community.letsencrypt.org/t/2018-01-11-update-regarding-acme-tls-sni-and-shared-hosting-infrastructure/50188
您可以改用 DNS 质询。 https://docs.traefik.io/configuration/acme/#dnsprovider
似乎要修复此错误,您需要指定您使用的是 http challenge:
[acme]
# ...
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
截至撰写本文时,此问题已修复 fairly recently,因此您可能需要比您现在使用的更新版本 (1.5) 的 traefik。
我在虚拟主机上有一个域,在 Digital Ocean 上有一个子域。我正在尝试使用 traefik.toml.
中的 acme 配置注册 LetsEncrypt SSL 证书[acme]
email = "myemail@pirion.net"
storage = "acme.json"
entryPoint = "https"
OnHostRule = true
日志提供以下错误:
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"
我找不到太多关于求解器是什么的信息。我需要在我的设置中添加什么吗?
这是由于 Let's Encrypt 问题:
- https://community.letsencrypt.org/t/2018-01-09-issue-with-tls-sni-01-and-shared-hosting-infrastructure/49996
- https://community.letsencrypt.org/t/2018-01-11-update-regarding-acme-tls-sni-and-shared-hosting-infrastructure/50188
您可以改用 DNS 质询。 https://docs.traefik.io/configuration/acme/#dnsprovider
似乎要修复此错误,您需要指定您使用的是 http challenge:
[acme]
# ...
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
截至撰写本文时,此问题已修复 fairly recently,因此您可能需要比您现在使用的更新版本 (1.5) 的 traefik。