I am currently asking myself how to ensure that Traefik with a TCP/TLS secured router also establishes a TLS connection to the services? Specifically, it is about LDAP / Active Directory.
We use a Traefik TCP/TLS router with ldaps://domain.tld:636 -> 184.108.40.206:389 This works without problems. Also a TLS passthrough on 220.127.116.11:636 is successful, but with the certificates in the backend it becomes difficult for the clients. A connection to 18.104.22.168:636 without passthrough ends with "Connection reset by peer" (LDAP server).
How can we configure Traefik to terminate TLS and also open a TLS connection to the backend? InsecureSkipVerify is set and also ok.