-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tsh proxy kube kube-cluster --cluster=leaf
fails to reissue certs
#41022
Comments
rosstimothy
added
the
tsh
tsh - Teleport's command line tool for logging into nodes running Teleport.
label
Apr 29, 2024
rosstimothy
added a commit
that referenced
this issue
Apr 30, 2024
When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
rosstimothy
added a commit
that referenced
this issue
May 2, 2024
When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
github-merge-queue bot
pushed a commit
that referenced
this issue
May 2, 2024
…41046) When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
github-actions bot
pushed a commit
that referenced
this issue
May 2, 2024
When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
github-actions bot
pushed a commit
that referenced
this issue
May 2, 2024
When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
github-actions bot
pushed a commit
that referenced
this issue
May 2, 2024
When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
github-merge-queue bot
pushed a commit
that referenced
this issue
May 2, 2024
…41159) When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
github-merge-queue bot
pushed a commit
that referenced
this issue
May 2, 2024
…41157) When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
github-merge-queue bot
pushed a commit
that referenced
this issue
May 2, 2024
…41158) When renewing certificates the RouteToCluster was always being set to the root cluster instead of the leaf cluster. This causes issues with per session mfa because the root cluster can't find the target kubernetes cluster which causes the renewal process to fail. Now during renewal the RouteToCluster is copied from the active user certificate if it existed. Closes #41022.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When connecting to a kube cluster in a leaf cluster,
tsh proxy kube
fails to reissue certs successfully after the kube certs expire.Fixing this behavior is especially important when
max_session_ttl
is low, which is common in per-session MFA setups.Expected behavior:
tsh proxy kube kube-cluster --cluster=leaf
should reissue certs whenever the certs expire.Current behavior:
tsh proxy kube kube-cluster --cluster=leaf
fails to reissue certs.Debug logs:
Notes:
Teleport version: v15.2.4, v14.0.0
The cert checker local proxy middleware added in #40857 and expanded for http middleware in #40985 may be useful for fixing this issue.
The text was updated successfully, but these errors were encountered: