mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 05:39:49 -05:00
Wildcard Certificates Not Being Generated Despite prefer_wildcard_cert: true
#766
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AndrewPaglusch on GitHub (Nov 8, 2025).
Originally assigned to: @oschwartz10612 on GitHub.
Describe the Bug
Possibly related to #1816
When
prefer_wildcard_cert: trueis set inconfig.yamlfor domains, Traefik still generates individual certificates for each subdomain instead of requesting wildcard certificates.I believe this bug was introduced in commit
d938345debon Wed Oct 8, since there seems to be some changes being made around thepreferWildcardCertsetting there.Environment
To Reproduce
config.yamlwithprefer_wildcard_cert: true:config.yaml:acme.jsonfile to force certificate regeneration:Expected Behavior
The Traefik dynamic configuration should include wildcard domain specifications like:
This would cause Traefik to request a single wildcard certificate covering all subdomains.
The Traefik dynamic configuration generates individual domain entries instead:
Every subdomain gets its own specific certificate request instead of using wildcards.
@AndrewPaglusch commented on GitHub (Nov 9, 2025):
This bug still appears to be present in the latest release 1.12.2.
I can see individual certs still being generated:
@oschwartz10612 Would you mind re-opening this issue if you can confirm it's still a problem?
@Anmol202005 commented on GitHub (Nov 10, 2025):
@AndrewPaglusch tried reproducing works good :
@AndrewPaglusch commented on GitHub (Nov 11, 2025):
@Anmol202005 Would you mind sharing your redacted config with me? I'd like to see if you're configuring wildcard domains differently than I am. Thanks!
In your redacted output above, I noticed you have two wildcard domains returned for the same (fake) domain. In your real output, are there two different wildcards being returned, each for different domains, or are they each for the same domain?