You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did a quick experiment (fe55219) which does technically fix the issue. Looks like this issue is related to how tsh is configuring its client... Because the --out parameter causes tsh to not save certs to its local cache, subsequent API calls are breaking.
@webvictimfe55219 is a hack, and not appropriate for inclusion in an official release. It "fixes" the problem by smashing the local tsh cache. Nothing too nasty; just means that the user would need to re-login to their normal account after using tsh login --out. Nevertheless, I think we can do better.
What happened: Attempting to log into a Teleport cluster and output the identity to a file results in an x509 error.
/etc/teleport.yaml
:OpenSSL verify (to show that the web-presented cert verifies OK):
What you expected to happen: The login to complete successfully and the identity file to be written to
output.pem
How to reproduce it (as minimally and precisely as possible): Run the above command against a properly-configured Teleport cluster.
Environment:
teleport version
):Teleport Enterprise v4.2.1git:v4.2.1-0-gb16ee7d7 go1.13.2
tsh version
):Teleport v4.2.2 git:v4.2.2-0-gb06a05d2 go1.13.2
Fedora 30
The text was updated successfully, but these errors were encountered: