Hello,
I'm experiencing an issue where my Traefik setup is not generating a Let's Encrypt SSL certificate for one of my services. Instead, it uses the default "Traefik Default Cert". My setup includes:
VPS: Hetzner
Service Management: Portainer
Proxy: Traefik v2.11 in Docker Swarm mode
DNS Management: Cloudflare (proxy disabled for the domain)
Here are the key points:
- The service is accessible through the domain, but only with the "Traefik Default Cert".
- I verified the labels for the service:
- traefik.enable=true
- traefik.http.routers.service.rule=Host(`example.com`)
- traefik.http.routers.service.entrypoints=websecure
- traefik.http.routers.service.tls.certresolver=le
- traefik.http.services.service.loadbalancer.server.port=80
- The file
acme.json
is present and has600
permissions. - DNS is correctly configured, pointing to the VPS IP. Ports 80 and 443 are open.
- Other services on the same setup successfully use Let's Encrypt certificates.
Logs from Traefik do not show clear errors, and I'm unsure what is blocking the certificate issuance.
What could I be missing or misconfiguring? Any suggestions would be highly appreciated.