I've had a Traefik docker setup humming along on my local machine for a few months now and decided to upgrade to 2.3.1 from 2.2.8. I simply swapped in the new image via the docker compose yml, and now the default Traefik cert is being used, resulting in a "connection not private" message in Chrome.
I've been referencing the cert file from my static start-up yml like this...
log: level: DEBUG api: dashboard: true entryPoints: web: address: ":80" http: redirections: entryPoint: to: websecure scheme: https websecure: address: ":443" providers: docker: endpoint: "unix:///var/run/docker.sock" exposedByDefault: false # ---[ DEV ONLY ]--- # file: filename: /etc/traefik/ssl/certs.yml watch: true # ---[ DEV ONLY ]--- #
certs.yml looks like this...
tls: stores: defaultCertificate: certFile: /etc/traefik/ssl/all.localhost.crt keyFile: /etc/traefik/ssl/all.localhost.key certificates: - certFile: /etc/traefik/ssl/all.localhost.crt keyFile: /etc/traefik/ssl/all.localhost.key stores: - default
Anyone know why this broke and how to remedy?