{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaGL/GLFW.jl/issues/75","repository_url":"https://api.github.com/repos/JuliaGL/GLFW.jl","labels_url":"https://api.github.com/repos/JuliaGL/GLFW.jl/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/JuliaGL/GLFW.jl/issues/75/comments","events_url":"https://api.github.com/repos/JuliaGL/GLFW.jl/issues/75/events","html_url":"https://github.com/JuliaGL/GLFW.jl/issues/75","id":138141828,"number":75,"title":"Fetching package fails on Ubunty - \"error setting certificate\"","user":{"login":"JobLeonard","id":259840,"avatar_url":"https://avatars.githubusercontent.com/u/259840?v=3","gravatar_id":"","url":"https://api.github.com/users/JobLeonard","html_url":"https://github.com/JobLeonard","followers_url":"https://api.github.com/users/JobLeonard/followers","following_url":"https://api.github.com/users/JobLeonard/following{/other_user}","gists_url":"https://api.github.com/users/JobLeonard/gists{/gist_id}","starred_url":"https://api.github.com/users/JobLeonard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobLeonard/subscriptions","organizations_url":"https://api.github.com/users/JobLeonard/orgs","repos_url":"https://api.github.com/users/JobLeonard/repos","events_url":"https://api.github.com/users/JobLeonard/events{/privacy}","received_events_url":"https://api.github.com/users/JobLeonard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-03T10:41:50Z","updated_at":"2016-03-03T13:37:16Z","closed_at":null,"body":"This is probably a trivial problem, but I don't quite understand what's going on:\r\n\r\n```\r\nINFO: Downloading GLFW 3.1.2 source tarball\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (77) error setting certificate verify locations:\r\n  CAfile: /etc/pki/tls/certs/ca-bundle.crt\r\n  CApath: none\r\n================================[ ERROR: GLFW ]=================================\r\n\r\nLoadError: failed process: Process(`curl -o downloads/glfw-3.1.2.tar.gz -L https://github.com/glfw/glfw/archive/3.1.2.tar.gz`, ProcessExited(77)) [77]\r\nwhile loading /home/job/.julia/v0.4/GLFW/deps/build.jl, in expression starting on line 13\r\n\r\n================================================================================\r\n\r\n=================================================================[ BUILD ERRORS ]=================================================================\r\n\r\nWARNING: GLFW had build errors.\r\n\r\n - packages with build errors remain installed in /home/job/.julia/v0.4\r\n - build the package(s) and all dependencies with `Pkg.build(\"GLFW\")`\r\n - build a single package by running its `deps/build.jl` script\r\n\r\n==================================================================================================================================================\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaGL/GLFW.jl/issues/comments/191763388","html_url":"https://github.com/JuliaGL/GLFW.jl/issues/75#issuecomment-191763388","issue_url":"https://api.github.com/repos/JuliaGL/GLFW.jl/issues/75","id":191763388,"user":{"login":"JobLeonard","id":259840,"avatar_url":"https://avatars.githubusercontent.com/u/259840?v=3","gravatar_id":"","url":"https://api.github.com/users/JobLeonard","html_url":"https://github.com/JobLeonard","followers_url":"https://api.github.com/users/JobLeonard/followers","following_url":"https://api.github.com/users/JobLeonard/following{/other_user}","gists_url":"https://api.github.com/users/JobLeonard/gists{/gist_id}","starred_url":"https://api.github.com/users/JobLeonard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JobLeonard/subscriptions","organizations_url":"https://api.github.com/users/JobLeonard/orgs","repos_url":"https://api.github.com/users/JobLeonard/repos","events_url":"https://api.github.com/users/JobLeonard/events{/privacy}","received_events_url":"https://api.github.com/users/JobLeonard/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T13:37:16Z","updated_at":"2016-03-03T13:37:16Z","body":"Whoops, did not want to hit \"submit\" just yet... anyway, here's the comment:\r\n\r\n```\r\ncurl gave the same error outside of Julia. After some google-ing, I finally found a solution: I just put the line cacert=/etc/ssl/certs/ca-certificates.crt into the ~/.curlrc file. (The certificates were stored at a different location than what curl thought.)\r\n\r\ncurl works now, both outside of Julia and when being called from Julia/BinDeps.\r\n\r\nHere's the resource I found most helpful, in case someone runs into similar problems:\r\nhttp://stackoverflow.com/questions/3160909/how-do-i-deal-with-certificates-using-curl-while-trying-to-access-an-https-url\r\n\r\nMaybe the problem was that I had upgraded from Ubuntu 10.04 to 12.04.\r\n\r\nThanks for your help!\r\n```\r\nhttps://github.com/JuliaLang/BinDeps.jl/issues/122#issuecomment-70251684"}}