I’m relatively new to docker. I’m running a dev environment with some 10 docker images behind Traefik using a self-signed certificate authority and certs. I’ve added the root to my browser trusted roots repository and I am able to browse to services hosted behind Traefik.
I recently decided to test Grafana Loki logging and configured containers to log to Loki behind Traefik. It looks like Docker does not trust the certificate and I keep getting errors of “Bad certificate”
level=debug msg="Serving default certificate for request: \"log.test.lan\"" time="2020-07-26T14:45:33+01:00" level=debug msg="http: TLS handshake error from 192.168.0.115:51072: remote error: tls: bad certificate"
How can I configure Docker to either skip verification or trust the cert?