在尝试获取LetsEncrpyt证书时出错“acme:无法确定解算器”

时间:2018-01-12 03:47:18

标签: ssl traefik

我在虚拟主机上有域名,在数字海洋上有子域名。我正在尝试使用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" 

我无法找到解决方案的内容。我需要添加到我的设置中吗?

2 个答案:

答案 0 :(得分:4)

似乎要解决此错误,您需要指定使用http challenge

[acme]
# ...
entryPoint = "https"
[acme.httpChallenge]
  entryPoint = "http"

截至撰写本文时,这已修复fairly recently,因此您可能需要一个比您现在使用的更新鲜的版本(1.5)tracorik。

答案 1 :(得分:1)