Search code examples
ssltraefik

Error "acme: Could not determine solvers" when trying to get a LetsEncrpyt cert


I have a domain on a webhost, and a subdomain on Digital Ocean. I'm attempting to register a LetsEncrypt SSL cert using an acme config in the traefik.toml.

[acme]
email = "myemail@pirion.net"
storage = "acme.json"
entryPoint = "https"
OnHostRule = true

The logs are providing the following error:

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" 

I'm unable to find much about what the solvers are. Is there something I need to add to my setup?


Solution

  • It's due to a Let's Encrypt issue:

    You can use the DNS challenge instead. https://docs.traefik.io/configuration/acme/#dnsprovider