{"action":"created","issue":{"url":"https://api.github.com/repos/appscode/guard/issues/193","repository_url":"https://api.github.com/repos/appscode/guard","labels_url":"https://api.github.com/repos/appscode/guard/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/appscode/guard/issues/193/comments","events_url":"https://api.github.com/repos/appscode/guard/issues/193/events","html_url":"https://github.com/appscode/guard/issues/193","id":378497085,"node_id":"MDU6SXNzdWUzNzg0OTcwODU=","number":193,"title":"Issues with LDAP and guard get installer","user":{"login":"mapolone","id":17516929,"node_id":"MDQ6VXNlcjE3NTE2OTI5","avatar_url":"https://avatars1.githubusercontent.com/u/17516929?v=4","gravatar_id":"","url":"https://api.github.com/users/mapolone","html_url":"https://github.com/mapolone","followers_url":"https://api.github.com/users/mapolone/followers","following_url":"https://api.github.com/users/mapolone/following{/other_user}","gists_url":"https://api.github.com/users/mapolone/gists{/gist_id}","starred_url":"https://api.github.com/users/mapolone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapolone/subscriptions","organizations_url":"https://api.github.com/users/mapolone/orgs","repos_url":"https://api.github.com/users/mapolone/repos","events_url":"https://api.github.com/users/mapolone/events{/privacy}","received_events_url":"https://api.github.com/users/mapolone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-07T22:29:47Z","updated_at":"2018-11-13T22:17:18Z","closed_at":"2018-11-13T22:17:18Z","author_association":"NONE","body":"Hello,\r\nI'm trying to setup Guard 0.2.1 in order to use it with an internal LDAP server. I've of course followed the [official guide](https://appscode.com/products/guard/0.2.1/guides/authenticator/ldap/).\r\n\r\nI think I hit a couple of issues when using `guard get installer`:\r\n\r\n- The default path for server and CA certificates is set to `/etc/guard/pki` even if variable `GUARD_DATA_DIR` is unset (following this logic, the path should be set to user's home folder).\r\n\r\n- Also, the following options are set by default:\r\n--tls-cert-file=\"/etc/guard/pki/tls.crt\"\r\n--tls-private-key-file=\"/etc/guard/pki/tls.key\"\r\n\r\ninstead, server certificates are named server.crt and server.key respectively (using of course `guard init ca`). If I try to change the options above, I get this error even when file exists:\r\n\r\n`server.go:141] open /etc/guard/pki/server.crt: no such file or directory`\r\n\r\nAm I missing something?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/appscode/guard/issues/comments/438459564","html_url":"https://github.com/appscode/guard/issues/193#issuecomment-438459564","issue_url":"https://api.github.com/repos/appscode/guard/issues/193","id":438459564,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODQ1OTU2NA==","user":{"login":"mapolone","id":17516929,"node_id":"MDQ6VXNlcjE3NTE2OTI5","avatar_url":"https://avatars1.githubusercontent.com/u/17516929?v=4","gravatar_id":"","url":"https://api.github.com/users/mapolone","html_url":"https://github.com/mapolone","followers_url":"https://api.github.com/users/mapolone/followers","following_url":"https://api.github.com/users/mapolone/following{/other_user}","gists_url":"https://api.github.com/users/mapolone/gists{/gist_id}","starred_url":"https://api.github.com/users/mapolone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapolone/subscriptions","organizations_url":"https://api.github.com/users/mapolone/orgs","repos_url":"https://api.github.com/users/mapolone/repos","events_url":"https://api.github.com/users/mapolone/events{/privacy}","received_events_url":"https://api.github.com/users/mapolone/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T22:17:18Z","updated_at":"2018-11-13T22:17:18Z","author_association":"NONE","body":"Thanks, but I'm still not able to run it.\r\nIn kubespray I got this error a few seconds before set up finishes:\r\n\r\n`http: TLS handshake error from 192.168.0.5:45568: EOF` where 192.168.0.5 is my `master` node.\r\n\r\nand\r\n\r\n`TLS handshake error from 192.168.0.5:53010: remote error: tls: bad certificate` while trying to get a token for user.\r\n\r\n[The troubleshooting guide](https://appscode.com/products/guard/0.2.1/setup/troubleshooting/) doesn't help also. I'll try again on a clean cluster, if you have any clue about this it would help a lot, otherwise feel free to keep this issue closed. Thanks for your help."}}
{"actor":{"display_login":"mapolone"}}