Hey traefik community,
Since I am not really sure whether this may a bug or a misunderstanding by me, I am posting my question here in the community:
I have a successful setup with acme-dns (since I host the dns server myself) and traefik to issue wildcard domains. Today, I wanted to change the key type to ECC. I backed my old certificate, changed the static config and restarted traefik. This lead to an acme rate limit error. According to the Let's Encrypt docs, I am allowed to have 5 renewals per week (that I did not use for sure). The traefik logs gave the rate limit error four times. As I have defined four routers with all the same wildcard domain under tls.domains, I believe that traefik asks Let's Encrypt for four certificates instead of one. Is this true and is this because of a misconfiguration by me?
Here is my dynamic configuration:
http:
routers:
traefik_router:
entryPoints:
- private
middlewares:
- redirect_to_tls
service: traefik_router_50080
rule: Host(`traefik.example.org`)
traefik_router_tls:
entryPoints:
- private_tls
service: traefik_router_50080
rule: Host(`traefik.example.org`)
tls:
certResolver: lets_encrypt_resolver
options: tls_options
domains:
- main: "*.example.org"
acmedns_router:
entryPoints:
- private
middlewares:
- redirect_to_tls
service: acmedns_router_58080
rule: Host(`acme.example.org`)
acmedns_router_tls:
entryPoints:
- private_tls
service: acmedns_router_58080
rule: Host(`acme.example.org`)
tls:
certResolver: lets_encrypt_resolver
options: tls_options
domains:
- main: "*.example.org"
influxdb_router:
entryPoints:
- private
middlewares:
- redirect_to_tls
service: influxdb_router_57080
rule: Host(`influx.example.org`)
influxdb_router_tls:
entryPoints:
- private_tls
service: influxdb_router_57080
rule: Host(`influx.example.org`)
tls:
certResolver: lets_encrypt_resolver
options: tls_options
domains:
- main: "*.example.org"
web_helloworld_router:
entryPoints:
- public
middlewares:
- redirect_to_tls
service: web_helloworld_router_56080
rule: Host(`www.example.org`)
web_helloworld_router_tls:
entryPoints:
- public_tls
service: web_helloworld_router_56080
rule: Host(`www.example.org`)
tls:
certResolver: lets_encrypt_resolver
options: tls_options
domains:
- main: "*.example.org"
services:
traefik_router_50080:
loadBalancer:
servers:
- url: "http://1.2.3.4:50080"
acmedns_router_58080:
loadBalancer:
servers:
- url: "http://1.2.3.4:58080"
influxdb_router_57080:
loadBalancer:
servers:
- url: "http://1.2.3.4:57080"
web_helloworld_router_56080:
loadBalancer:
servers:
- url: "http://1.2.3.4:56080"
middlewares:
redirect_to_tls:
redirectScheme:
scheme: "https"
permanent: true
tls:
options:
tls_options:
minVersion: "VersionTLS12"
Thank you so much for your help!
Best wishes,
Marc