我在虚拟主机上有一个域,在 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"
我找不到太多关于解算器是什么的信息。我需要在我的设置中添加什么吗?
最佳答案
似乎要修复此错误,您需要指定您正在使用 http challenge :
[acme]
# ...
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
截至撰写本文时,此问题已修复 fairly recently ,因此您可能需要比现在使用的 traefik 更新版本 (1.5)。
关于ssl - 尝试获取 LetsEncrypt 证书时出现错误 "acme: Could not determine solvers",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48219262/