0

Is there anybody here who has managed to obtain a SSL certificate from Vultr from within a docker/traefik container.

I have set up my Vultr api key and provided this to my compose file but the DNS challenge simply fails with an “error presenting token” error.

Interested to hear if anyone has successfully done this.

Alan Rutter
  • 321
  • 4
  • 16
  • More details like traefik configuration used, would help others to understand a possible issue – x4k3p Dec 29 '20 at 05:09

1 Answers1

3

See this link https://github.com/go-acme/lego/pull/1302

The below changes worked for me.

    environment:
      - "VULTR_API_KEY=xxxxx"
      - "VULTR_HTTP_TIMEOUT=3600"
dspencer
  • 4,297
  • 4
  • 22
  • 43
  • Thank you so much - I spent all afternoon yesterday trying to get this to work. Is there a way to force the use of Vultr v2 api from the traefik request? – Alan Rutter Dec 29 '20 at 22:01
  • Traefik uses [go-acme](https://github.com/go-acme/lego) for the DNS challange which as of version 4.1.3 is still using Vultr v1 API. However, the PR to bump this to Vultr API v2 has been merged and is slated for the 4.2 release [go-acme vultr v2 pr](https://github.com/go-acme/lego/pull/1302). So once this new version is released and updated in traefik it will be running on Vultr API v2. – ddymko Jan 09 '21 at 17:39