ssl - 尝试获取 LetsEncrypt 证书时出现错误 "acme: Could not determine solvers"

标签 ssl 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" 

我找不到太多关于解算器是什么的信息。我需要在我的设置中添加什么吗?

最佳答案

似乎要修复此错误,您需要指定您正在使用 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/

相关文章:

python - 我想在 python 代码中添加 ssl 证书,但我不知道如何在代码中添加它

tomcat和grpc都升级到ssl

kubernetes - Traefik Dashboard : Ingress and IngressRoute, 它们可以共存吗?

docker - 带有 docker 后端的 traefik 反向代理 - 在 traefik 的配置文件中配置前端规则,而不是通过容器标签

java - 得到 java.security.InvalidAlgorithmParameterException : the trustAnchors parameter must be non-empty when using cas

Qtwebsockets 示例 SSL

web-services - 如何使 JAX-WS Web 服务安全

docker - 适用于多个网站的 Traefik

https - Traefik v2.0 使用自签名证书的问题

Azure Service Fabric 与 Træfik - 与 Azure LB?