I'm running Traefik in a Docker container using docker compose.
When I try to connect to my service, I get
level=debug msg="'500 Internal Server Error' caused by: x509: certificate signed by unknown authority"
In the dynamic conf I set
[[tls.certificates]] certFile = "/etc/ssl/fullchain.crt" keyFile = "/etc/ssl/privkey.key" [http.serversTransports.myservice] serverName = "service.com"
and the service container is labled with
This setup works, when I just use the Traefik bin and don't run it in a container.
From within the container it works, when I add
insecureSkipVerify = true
to the serversTransports.myservice.