Traefik Docker with Cloudflare dnschallenge

Hi,
I’m really struggling with getting certs working with Traefik and the acme challenge

Can’t find any docs that have

  1. the requirements
  2. the methods
  3. a walkthrough

For instance, from the lego reference seems to infer that only one credential is required, a token
https://go-acme.github.io/lego/

but then the API docs seem to infer the syntax for a token has to be
Authorization: Bearer $token
and not
CF_DNS_API_TOKEN: $token
as I have been using…

So finally to my question- is there any accurate, up to date docs about setting the Cloudflare acme dns challenge in Traefik please?
I am expecting to be referred back to Traefik, but I’ve spent a few days there and their docs aren’t telling me much…

Here’s the traefik.yml

entryPoints:
web:
address: “:80”

websecure:
address: “:443”

certificatesResolvers:
cloudflare:
acme:
CF_DNS_API_TOKEN: $token
storage: /acme.json
dnsChallenge:
provider: cloudflare

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.