{"action":"created","issue":{"url":"https://api.github.com/repos/gravitational/teleport/issues/1745","repository_url":"https://api.github.com/repos/gravitational/teleport","labels_url":"https://api.github.com/repos/gravitational/teleport/issues/1745/labels{/name}","comments_url":"https://api.github.com/repos/gravitational/teleport/issues/1745/comments","events_url":"https://api.github.com/repos/gravitational/teleport/issues/1745/events","html_url":"https://github.com/gravitational/teleport/issues/1745","id":302190574,"number":1745,"title":"Auth sign with a long ttl doesn't seem to work.","user":{"login":"stanchan","id":659277,"avatar_url":"https://avatars1.githubusercontent.com/u/659277?v=4","gravatar_id":"","url":"https://api.github.com/users/stanchan","html_url":"https://github.com/stanchan","followers_url":"https://api.github.com/users/stanchan/followers","following_url":"https://api.github.com/users/stanchan/following{/other_user}","gists_url":"https://api.github.com/users/stanchan/gists{/gist_id}","starred_url":"https://api.github.com/users/stanchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanchan/subscriptions","organizations_url":"https://api.github.com/users/stanchan/orgs","repos_url":"https://api.github.com/users/stanchan/repos","events_url":"https://api.github.com/users/stanchan/events{/privacy}","received_events_url":"https://api.github.com/users/stanchan/received_events","type":"User","site_admin":false},"labels":[{"id":317138412,"url":"https://api.github.com/repos/gravitational/teleport/labels/documentation","name":"documentation","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"kontsevoy","id":461020,"avatar_url":"https://avatars2.githubusercontent.com/u/461020?v=4","gravatar_id":"","url":"https://api.github.com/users/kontsevoy","html_url":"https://github.com/kontsevoy","followers_url":"https://api.github.com/users/kontsevoy/followers","following_url":"https://api.github.com/users/kontsevoy/following{/other_user}","gists_url":"https://api.github.com/users/kontsevoy/gists{/gist_id}","starred_url":"https://api.github.com/users/kontsevoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontsevoy/subscriptions","organizations_url":"https://api.github.com/users/kontsevoy/orgs","repos_url":"https://api.github.com/users/kontsevoy/repos","events_url":"https://api.github.com/users/kontsevoy/events{/privacy}","received_events_url":"https://api.github.com/users/kontsevoy/received_events","type":"User","site_admin":false},"assignees":[{"login":"kontsevoy","id":461020,"avatar_url":"https://avatars2.githubusercontent.com/u/461020?v=4","gravatar_id":"","url":"https://api.github.com/users/kontsevoy","html_url":"https://github.com/kontsevoy","followers_url":"https://api.github.com/users/kontsevoy/followers","following_url":"https://api.github.com/users/kontsevoy/following{/other_user}","gists_url":"https://api.github.com/users/kontsevoy/gists{/gist_id}","starred_url":"https://api.github.com/users/kontsevoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontsevoy/subscriptions","organizations_url":"https://api.github.com/users/kontsevoy/orgs","repos_url":"https://api.github.com/users/kontsevoy/repos","events_url":"https://api.github.com/users/kontsevoy/events{/privacy}","received_events_url":"https://api.github.com/users/kontsevoy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-03-05T06:57:28Z","updated_at":"2018-04-24T23:04:37Z","closed_at":null,"author_association":"NONE","body":"**What happened**:\r\nWhen generating a cert for automation users, the certs expire in a day.\r\n$ tctl auth sign --ttl=87600h --user=jenkins --out=jenkins.pem\r\n\r\nGet the following with a re-login request after 24 hours:\r\nWARNING: the certificate has expired on 2018-03-03 05:24:03 +0000 UTC\r\n\r\n**What you expected to happen**:\r\nShould expire based on ttl value.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nThe following should not prompt you to login.\r\n$ tsh -i ~/.ssh/id_rsa --proxy=teleport-proxy:3080 --user=jenkins ssh targethost\r\n\r\n**Environment**:\r\n- Teleport version (use `teleport version`): 2.4.2\r\n- Tsh version (use `tsh version`): 2.4.2\r\n- OS (e.g. from /etc/os-release): debian 9\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gravitational/teleport/issues/comments/384107231","html_url":"https://github.com/gravitational/teleport/issues/1745#issuecomment-384107231","issue_url":"https://api.github.com/repos/gravitational/teleport/issues/1745","id":384107231,"user":{"login":"aberoham","id":586805,"avatar_url":"https://avatars3.githubusercontent.com/u/586805?v=4","gravatar_id":"","url":"https://api.github.com/users/aberoham","html_url":"https://github.com/aberoham","followers_url":"https://api.github.com/users/aberoham/followers","following_url":"https://api.github.com/users/aberoham/following{/other_user}","gists_url":"https://api.github.com/users/aberoham/gists{/gist_id}","starred_url":"https://api.github.com/users/aberoham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aberoham/subscriptions","organizations_url":"https://api.github.com/users/aberoham/orgs","repos_url":"https://api.github.com/users/aberoham/repos","events_url":"https://api.github.com/users/aberoham/events{/privacy}","received_events_url":"https://api.github.com/users/aberoham/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T23:04:36Z","updated_at":"2018-04-24T23:04:36Z","author_association":"CONTRIBUTOR","body":"Doesn't look like this is a new regression -- I was able to reproduce what @stanchan is seeing with the latest releases of Teleport OSS (2.0.6, 2.2.8, 2.3.7 and 2.4.6). \r\n\r\n`tctl sign` with a long TTL *does* work with v1.3.2 (Jan '17)"}}
{"actor":{"display_login":"aberoham"}}