[SOLVED] ACME / Traefik - no new certificates are generated

Hey there,
Thanks a lot for your reply.
I posted the question on the Traefik forums as well, and somebody there suggested that I should use dnsChallenge instead of httpChallenge.
Which I did, I used my DNS provider api user and api key and so far it's working.

So solution was :

  1. change the challenge type in traefik.yml
certificatesResolvers:
  letsEncrypt:
    acme:
      #caServer: "https://acme-v02.api.letsencrypt.org/directory"
      #caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
      email: myemail@mayemail.com
      storage: /acme.json
      #keyType: EC384   
      dnsChallenge:
        provider: mydnsprovider
  1. add some lines in the traefik section of the docker-compose.yml
environment:
       ...
       - DNSPROVIDER_API_KEY=12345678945612345789
       - DNSPROVIDER_API_USER=api_user
       ...

to note that the environment variables are specific to my provider. one should look up their own, and can do so here : Traefik Let's Encrypt Documentation - Traefik

2 Likes