TCP TLS Backend?

Hello everyone,

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 -> 1.2.3.4:389 This works without problems. Also a TLS passthrough on 1.2.3.4:636 is successful, but with the certificates in the backend it becomes difficult for the clients. A connection to 1.2.3.4: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.