Replies: 5 comments 16 replies
-
|
If you want to use Traefik, first you'll need to remove Then, get Traefik to forward traffic to your Teleport container on port 444 (i.e. whatever your have configured for You probably don't need to provide certs to Teleport - it will generate a self-signed cert for the backend connection if you don't provide one via |
Beta Was this translation helpful? Give feedback.
-
|
Hey Everyone, I know this is an old thread but I also have a question about deploying behind Traefik. Ideally I'd like all items going through 443/80 because I don't like port forwarding, but I might have to for Teleport to work behind my reverse proxy :( I have 34 other containers running behind the proxy, nearly all with port 80/443 exposed to reverse proxy working great with SSL. Teleport is the only one so far I can't get working. |
Beta Was this translation helpful? Give feedback.
-
|
For anyone else interested, I also posted a writeup of how to do this with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Probably resolved completely: renaming the apps fixed it all, following this bug: #30160 |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I know this is a bit of an open question but I have been trying to set up teleport behind traefik the whole day and I'm going in circles. Does anyone have any tips on deploying teleport behind traefik or should I just give up and expose teleport on a different port?
It's just that the whole thing with ACME and certificates and stuff being done by both traefik and teleport, and teleport needing traefik to not terminate tls just makes everything way more complicated.
I even tried to just start teleport with the following
teleport.yaml(with the key_file and cert_file being the tls certificates dumped from traefik) but I get ahttps: error: SSLError: HTTPSConnectionPool(host='tele.mydomain.tld', port=3025): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))) while doing a GET request to URL: https://tele.mydomain.tld:3025/error (same error on all ports, same with 444) at best and an empty response at worst.teleport.yamlthat I got withteleport configure --public-addr tele.mydomain.tld --cert-file /etc/traefik/certs/certs/tele.mydomain.tldcrt --key-file /etc/traefik/certs/private/tele.mydomain.tld.key -o /etc/teleport/teleport.yaml --cluster-name telemydomain.tldteleport logs from journalctl:
Beta Was this translation helpful? Give feedback.
All reactions