Issue with Traefik / Lets Encrypt seemingly not using acquired scripts

I’m setting up traefik in Docker to redirect http to https and grab the cert using lets encrypt.

It appears the cert is being acquired, https redirect is working however when going to my domain I have to add an exception as the cert is not being used.

docker-compose.yml
docker-compose.yml.txt (2.1 KB)

The certs are listed as valid in acme.json, the docker container logs show no errors. I’ve poked around a bit but don’t seem to see what’s going on here. Any ideas?

Thanks

- --certificatesresolvers.le.acme.email=letsencrypt@labdomain.cloud
- --certificatesresolvers.le.acme.storage=/acme.json
- --certificatesresolvers.le.acme.tlschallenge=true

Changed to

  - --certificatesresolvers.mytlschallenge.acme.email=letsencrypt@labdomain.cloud
  - --certificatesresolvers.mytlschallenge.acme.storage=/acme.json
  - --certificatesresolvers.mytlschallenge.acme.tlschallenge=true

and its working

Relevant Documentation
https://docs.traefik.io/v2.0/user-guides/docker-compose/acme-tls/