Originally created by @Tanhueco on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/464
I tried this out but the website does not come up. Is it possible to have wildcard certificates issued to mutiple domains?
dynamic_config.yml:
next-router:
entryPoints:
- websecure
middlewares:
- security-headers
rule: Host(`proxy.domain1.com`) && !PathPrefix(`/api/v1`)
service: next-service
tls:
certResolver: letsencrypt
domains[0]:
- main: "domain1.com"
sans:
- "*.domain1.com"
domains[1]:
- main: "domain2.com"
sans:
- "*.domain2.com"
A single domain works ok:
next-router:
entryPoints:
- websecure
middlewares:
- security-headers
rule: Host(`proxy.domain1.com`) && !PathPrefix(`/api/v1`)
service: next-service
tls:
certResolver: letsencrypt
domains:
- main: "domain1.com"
sans:
- "*.domain1.com"
<!-- gh-comment-id:2780920467 -->
@Lokowitz commented on GitHub (Apr 5, 2025):
Hi Tanhueco,
when i remember correct it should work like this:
```
domains:
- main: "domain1.com"
sans:
- "*.domain1.com"
- main: "domain2.com"
sans:
- "*.domain2.com"
```
Are you using the same provider for all domains?
could you help me out, when I have multiple wildcard domains with different providers? How would I adjust the certificatesResolvers in a way, that it would pick up the correct configuration per domain?
certificatesResolvers:letsencrypt:acme:httpChallenge:entryPoint:webemail:hello@example.com# REPLACE THIS WITH YOUR EMAILstorage:"/letsencrypt/acme.json"caServer:"https://acme-v02.api.letsencrypt.org/directory"
Thanks a lot for your help or any pointers!
Regards,
<!-- gh-comment-id:3169399340 -->
@nlsrchtr commented on GitHub (Aug 8, 2025):
Hi @Lokowitz,
could you help me out, when I have multiple wildcard domains with different providers? How would I adjust the certificatesResolvers in a way, that it would pick up the correct configuration per domain?
```yaml
certificatesResolvers:
letsencrypt:
acme:
httpChallenge:
entryPoint: web
email: hello@example.com # REPLACE THIS WITH YOUR EMAIL
storage: "/letsencrypt/acme.json"
caServer: "https://acme-v02.api.letsencrypt.org/directory"
```
Thanks a lot for your help or any pointers!
Regards,
Hi @nlsrchtr
according to the traefik docs, it is not supported. But there is a workaround:
Multiple DNS challenge provider are not supported with Traefik, but you can use CNAME to handle that. For example, if you have example.org (account foo) and example.com (account bar) you can create a CNAME on example.org called _acme-challenge.example.org pointing to challenge.example.com. This way, you can obtain certificates for example.org with the bar account.
<!-- gh-comment-id:3170467007 -->
@Lokowitz commented on GitHub (Aug 9, 2025):
Hi @nlsrchtr
according to the traefik [docs](https://doc.traefik.io/traefik/https/acme/#dnschallenge), it is not supported. But there is a workaround:
> Multiple DNS challenge provider are not supported with Traefik, but you can use CNAME to handle that. For example, if you have example.org (account foo) and example.com (account bar) you can create a CNAME on example.org called _acme-challenge.example.org pointing to challenge.example.com. This way, you can obtain certificates for example.org with the bar account.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Tanhueco on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/464
I tried this out but the website does not come up. Is it possible to have wildcard certificates issued to mutiple domains?
dynamic_config.yml:
A single domain works ok:
@Lokowitz commented on GitHub (Apr 5, 2025):
Hi Tanhueco,
when i remember correct it should work like this:
Are you using the same provider for all domains?
@Tanhueco commented on GitHub (Apr 5, 2025):
@Lokowitz, That works!
Yes, all domains are from the same provider.
@miloschwartz commented on GitHub (Apr 11, 2025):
Thanks @Lokowitz!
@nlsrchtr commented on GitHub (Aug 8, 2025):
Hi @Lokowitz,
could you help me out, when I have multiple wildcard domains with different providers? How would I adjust the certificatesResolvers in a way, that it would pick up the correct configuration per domain?
Thanks a lot for your help or any pointers!
Regards,
@Lokowitz commented on GitHub (Aug 9, 2025):
Hi @nlsrchtr
according to the traefik docs, it is not supported. But there is a workaround: