Hello,
I'm trying to setup automatic certificates on my Traefik setup. It seems to work as I get a valid secured connection to my services, bu I always have an error when starting traefik.
level=error msg="Error while creating certificate store: unable to find certificate for domains \"*.mydomain.io,mydomain.io\": falling back to the internal generated certificate" tlsStoreName=default
Running in debug, I can see a few line I have the following which makes me think it loaded the certificates in some way ?
level=debug msg="Default ACME certificate generation is not required." providerName=ovhresolver.acme
Setup:
- Traefik 2.10.3 running in a docker container
Here are my configuration files:
My docker-compose file mounting the volume for certificate storage
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- ${VOLUMES}/traefik:/etc/traefik/
- ${VOLUMES}/traefik/acme/:/etc/traefik/acme
In can see the acme.json
file in the host traefik/acme
volume and it looks legit. So generating the cert definitely worked.
traefik.yml
# Providers an entrypoints omitted for brevity
certificatesResolvers:
ovhresolver:
acme:
email: myemail
storage: "/etc/traefik/acme/acme.json"
dnsChallenge:
provider: ovh
delayBeforeCheck: 10
dynamic_conf.yml
tls:
stores:
default:
defaultGeneratedCert:
resolver: ovhresolver
domain:
main: mydomain.io
sans:
- "*.mydomain.io"
http:
middlewares:
# Omitted for brevity
Is there something wrong in the configuration ?
Thank you,
Psyko