{"action":"created","issue":{"url":"https://api.github.com/repos/solid/solid/issues/137","repository_url":"https://api.github.com/repos/solid/solid","labels_url":"https://api.github.com/repos/solid/solid/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/solid/solid/issues/137/comments","events_url":"https://api.github.com/repos/solid/solid/issues/137/events","html_url":"https://github.com/solid/solid/issues/137","id":320180225,"number":137,"title":"Unable to login with WebID-TLS","user":{"login":"jakubklimek","id":718827,"avatar_url":"https://avatars0.githubusercontent.com/u/718827?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubklimek","html_url":"https://github.com/jakubklimek","followers_url":"https://api.github.com/users/jakubklimek/followers","following_url":"https://api.github.com/users/jakubklimek/following{/other_user}","gists_url":"https://api.github.com/users/jakubklimek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubklimek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubklimek/subscriptions","organizations_url":"https://api.github.com/users/jakubklimek/orgs","repos_url":"https://api.github.com/users/jakubklimek/repos","events_url":"https://api.github.com/users/jakubklimek/events{/privacy}","received_events_url":"https://api.github.com/users/jakubklimek/received_events","type":"User","site_admin":false},"labels":[{"id":352438683,"url":"https://api.github.com/repos/solid/solid/labels/Authentication","name":"Authentication","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-05-04T07:43:57Z","updated_at":"2018-05-11T11:04:36Z","closed_at":null,"author_association":"NONE","body":"I am running ```node-solid-server```, I have a WebID created, and I created a TLS certificate and added the public key to the WebID (manually written it to the ttl file in the file system). I have the certificate in Chrome and Firefox and http://id.myopenlink.net/ods/webid_demo.html says it works. \r\n\r\nHowever, I am unable to login with the WebID anywhere - tried Solid Profile Editor and dokie.li - both can read my WebID, but cannot write anything anywhere - they get 401 Unauthorized. I cannot even log it to the solid.opendata.cz instance itself - whenever I try to edit something, it asks for login provider (suggests databox.me and Solid Test Space). I choose custom, https://solid.opendata.cz, and then the dialog closes and nothing happens.\r\n\r\n- I am presumably running node-solid-server version 4.0.6 (solid -V does not output anything btw).\r\n- the address is ```https://solid.opendata.cz```\r\n- My WebID: ```https://jakub.solid.opendata.cz/profile/card#me```\r\n- I used https://github.com/njh/gen-webid-cert to generate the certificate for it\r\n- I added the public key for WebID-TLS manually, in the server's file system\r\n- I added the certificate to Chrome and Firefox\r\n\r\nI am sure I am missing something, but I really do not know what. Any help appreciated"},"comment":{"url":"https://api.github.com/repos/solid/solid/issues/comments/388333193","html_url":"https://github.com/solid/solid/issues/137#issuecomment-388333193","issue_url":"https://api.github.com/repos/solid/solid/issues/137","id":388333193,"user":{"login":"jakubklimek","id":718827,"avatar_url":"https://avatars0.githubusercontent.com/u/718827?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubklimek","html_url":"https://github.com/jakubklimek","followers_url":"https://api.github.com/users/jakubklimek/followers","following_url":"https://api.github.com/users/jakubklimek/following{/other_user}","gists_url":"https://api.github.com/users/jakubklimek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubklimek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubklimek/subscriptions","organizations_url":"https://api.github.com/users/jakubklimek/orgs","repos_url":"https://api.github.com/users/jakubklimek/repos","events_url":"https://api.github.com/users/jakubklimek/events{/privacy}","received_events_url":"https://api.github.com/users/jakubklimek/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T11:04:36Z","updated_at":"2018-05-11T11:04:36Z","author_association":"NONE","body":"I cleaned ```config``` and ```.db``` but still got connection rejected errors when running as ```solid start --auth tls``` with nothing in server logs even when running as ```solid start --auth tls -v```.\r\n\r\nFinally, I saw @csarven's yesterday post in gitter where he uses the ```--no-reject-unauthorized``` flag and indeed, running ```solid start --auth tls --no-reject-unauthorized``` finally works. \r\n\r\nMaybe this could be documented somewhere. In the ```node-solid-server``` usage, this flag is connected to self-signed certificates, which I am not using, but apparently it helps with my issue as well."}}
{"actor":{"display_login":"jakubklimek"}}