Can't login with tsh to local Community Edition Teleport deployment #45191
-
I'm trying to run a PoC locally with kind and the Community Edition of Teleport. I installed an ingress-nginx in the cluster as well and then used teleport's helm chart (v16.0.4) with the following values:
I also created a local admin user.
I used the given URL to put a password and MFA to the user, afterwards I checked and login in through the browser works fine but when I try to do the same with the CLI I get the following error:
The domain you see is only pointing to localhost, which works fine and I can reach the service without a problem, which is proven through the browser. I intentionally didn't setup acme because this is supposed to be for a short lived local demo and I don't want to complicate the setup too much. However not being able to login through tsh is certainly painful for the rest of the things I wanna test. Any pointers on this would be helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Please make sure your |
Beta Was this translation helpful? Give feedback.
To give this topic a closure I'll describe what I did to make it work.
I was trying to run teleport behind an ingress controller in my local kubernetes setup with kind, which proved to be more complicated than expected. To make this work with self signed certs I had to:
extraPortMappings
config in kind--insecure
flag was added to all teleport components (server, agent and operator). Note: the operator chart does not include this option so had to add it to the deployment directly (through kustomize overlay patch).