Hello,
I'm trying to use Træfik as a load balancer between a couple of servers. These servers has self signed certificates. I have the root CA from the company, and I've added it to the docker container:
My traefik.yml file: (static config)
log:
level: DEBUG
api:
dashboard: true
insecure: true
entryPoints:
proxy:
address: ':8083'
providers:
file:
directory: /etc/traefik/dynamic-config
serversTransport:
rootCAs:
- /etc/traefik/rootca.crt
And a simple load-balancer: (Dynamic config)
http:
routers:
test1:
rule: Host(`my-proxy.domain.com`)
service: test1
services:
test1:
loadBalancer:
servers:
- url: https://my-domain1.com
- url: https://mydomain2.com
How ever, I still see x509: certificate signed by unknown authority
in my logs:
(Shortened)
level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{.... \"RequestURI\":\"/some/url\",\"TLS\":null}"
level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request=...
level=debug msg="'500 Internal Server Error' caused by: x509: certificate signed by unknown authority"
level=debug msg="vulcand/oxy/roundrobin/rr: completed ServeHttp on request" Request=...