{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/234","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/234/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/234/events","html_url":"https://github.com/commercialhaskell/stack/issues/234","id":86673418,"number":234,"title":"TlsException on Windows","user":{"login":"wismill","id":3842915,"avatar_url":"https://avatars.githubusercontent.com/u/3842915?v=3","gravatar_id":"","url":"https://api.github.com/users/wismill","html_url":"https://github.com/wismill","followers_url":"https://api.github.com/users/wismill/followers","following_url":"https://api.github.com/users/wismill/following{/other_user}","gists_url":"https://api.github.com/users/wismill/gists{/gist_id}","starred_url":"https://api.github.com/users/wismill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wismill/subscriptions","organizations_url":"https://api.github.com/users/wismill/orgs","repos_url":"https://api.github.com/users/wismill/repos","events_url":"https://api.github.com/users/wismill/events{/privacy}","received_events_url":"https://api.github.com/users/wismill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T17:28:10Z","updated_at":"2015-06-09T17:34:43Z","closed_at":null,"body":"Hi, I tried `stack` on Windows 7 64 bits and I got the following error: `TlsException (HandshakeFailed (Error_Protocol (\"certificate has unknown CA\",True,UnknownCa)))`.\r\n\r\nTo reproduce this:\r\n\r\n1. Download the zip file containing stack.exe and unzip it in a directory.\r\n2. Open Powershell and go to the directory containing the previous file.\r\n3. `cabal init` (assuming cabal is already installed).\r\n4. `stack build`"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/110441878","html_url":"https://github.com/commercialhaskell/stack/issues/234#issuecomment-110441878","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/234","id":110441878,"user":{"login":"3noch","id":882455,"avatar_url":"https://avatars.githubusercontent.com/u/882455?v=3","gravatar_id":"","url":"https://api.github.com/users/3noch","html_url":"https://github.com/3noch","followers_url":"https://api.github.com/users/3noch/followers","following_url":"https://api.github.com/users/3noch/following{/other_user}","gists_url":"https://api.github.com/users/3noch/gists{/gist_id}","starred_url":"https://api.github.com/users/3noch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3noch/subscriptions","organizations_url":"https://api.github.com/users/3noch/orgs","repos_url":"https://api.github.com/users/3noch/repos","events_url":"https://api.github.com/users/3noch/events{/privacy}","received_events_url":"https://api.github.com/users/3noch/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T17:34:43Z","updated_at":"2015-06-09T17:34:43Z","body":"To whom it may concern, the `tls` package did not work on Windows 64-bit until `crypto-random` was fixed in version 0.0.9. However. I think `stack` is built as 32-bit for Windows."}}