Traefik - ACME with GoDaddy as provider

Hi All,

I am currently trying to setup traefik with let’s encrypt to handle wildcard certificate. My provider is Go daddy and I have setup the environment with both GODADDY_API_KEY and GODADDY_API_SECRET (with values, like “aed…”) in traefik.yml but I keep getting a missing GoDaddy credentials. I know that Traefik list GoDaddy as a none tested provider but I am wondering if anybody else have the same issues?

Regards Stig

I got it working. The solution was to put the GODADDY_API_KEY and GODADDY_API_SECRET in an file (.provider.env in the example belov) for themselves and then reference them in the docker-compose.yml.

version: “2.3”

services:
traefik:
image: traefik:tetedemoine-alpine
container_name: traefik
restart: always
ports:
- “80:80”
- “443:443”
- “8080:8080”
expose:
- 8080
env_file:
- .provider.env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik.toml:/traefik.toml
- ./logs:/logs
- ./acme.json:/acme.json
networks:
- proxy

networks:
proxy:
external: true

The .provider.env should be like:
GODADDY_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxx
GODADDY_API_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxx

The ACME part of the .toml file should be like:
[acme]
email = "your@email.com"
#caServer = “https://acme-staging-v02.api.letsencrypt.org/directory
storage = “acme.json”
entryPoint = “https”
[acme.dnsChallenge]
provider = “godaddy”
delayBeforeCheck = 90

[[acme.domains]]
main = “*.yourdomain.com”
sans = [“yourdomain.com”]

Thanks to Pedro Rigotti, who help me with this problem.