I am intending to generate multiple wildcard certificates using cloudflare dnschallenge for multiple domains. For instance -
Certificate1 - example.com
& *.example..com
Certificate2 - adguard.example.com
& *.adguard.example.com
Pointing out the most relevant section from the docker compose
- "--entrypoints.websecure.http.tls.domains[0].main=example.com"
- "--entrypoints.websecure.http.tls.domains[0].sans=*.example.com"
- "--entrypoints.websecure.http.tls.domains[1].main=adguard.example.com"
- "--entrypoints.websecure.http.tls.domains[1].sans=*.adguard.example.com"
The first certificate is generated perfectly fine but the issue is that while generating the second certificate, it outputs the following in logs
Domain "adguard.example.com" is duplicated in the configuration or validated by the domain {example.com [*.example.com]}. It will be processed once
As a result of this, adguard.example.com
is not processed in the second certificate and this cert only remains valid for *.adguard.example.com
. Is there any way to force traefik to process this domain inspite of being covered by a earlier certificate ?
docker-compose - https://pastebin.com/raw/GGAAwXBj
Traefik version 3.0.0-beta3
Ubuntu 22.04