{"action":"created","issue":{"url":"https://api.github.com/repos/equalitie/bundler/issues/9","labels_url":"https://api.github.com/repos/equalitie/bundler/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/equalitie/bundler/issues/9/comments","events_url":"https://api.github.com/repos/equalitie/bundler/issues/9/events","html_url":"https://github.com/equalitie/bundler/issues/9","id":58271433,"number":9,"title":"Error when encountering self-signed certificates","user":{"login":"redwire","id":682761,"avatar_url":"https://avatars.githubusercontent.com/u/682761?v=3","gravatar_id":"","url":"https://api.github.com/users/redwire","html_url":"https://github.com/redwire","followers_url":"https://api.github.com/users/redwire/followers","following_url":"https://api.github.com/users/redwire/following{/other_user}","gists_url":"https://api.github.com/users/redwire/gists{/gist_id}","starred_url":"https://api.github.com/users/redwire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redwire/subscriptions","organizations_url":"https://api.github.com/users/redwire/orgs","repos_url":"https://api.github.com/users/redwire/repos","events_url":"https://api.github.com/users/redwire/events{/privacy}","received_events_url":"https://api.github.com/users/redwire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/equalitie/bundler/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/equalitie/bundler/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T21:19:51Z","updated_at":"2015-02-19T23:31:38Z","closed_at":"2015-02-19T23:31:38Z","body":"With the following `remaps.json` file:\r\n\r\n```javascript\r\n{\r\n  \"distributed.deflect.ca\": \"deflect.ca\",\r\n  \"nosmo.me\": \"fulltimeinter.net\"\r\n}\r\n```\r\n\r\nand a request to the url\r\n\r\n```\r\nhttp://127.0.0.1:9008/?url=https://nosmo.me\r\n```\r\n\r\nyields the following output:\r\n\r\n```\r\ndebug: Calling originalRequest hook with options  url=https://nosmo.me, strictSSL=false, rejectUnauthorized=false\r\ndebug: Calling originalRequest hook with options  url=https://nosmo.me, strictSSL=false, rejectUnauthorized=false,\r\ndebug: Calling originalRequest hook with options  url=https://nosmo.me, strictSSL=false, rejectUnauthorized=false, Origin=Bundler\r\ndebug: Calling originalRequest hook with options  url=https://nosmo.me, strictSSL=false, rejectUnauthorized=false, Origin=Bundler, followRedirect=true, followAllRedirects=false, maxRedirects=10\r\n###### OPTIONS =  { url: 'https://fulltimeinter.net/',\r\n  strictSSL: false,\r\n  rejectUnauthorized: false,\r\n  headers: { Origin: 'Bundler', Host: 'nosmo.me' },\r\n  followRedirect: true,\r\n  followAllRedirects: false,\r\n  maxRedirects: 10 }\r\n###### OPTIONS =  { url: 'https://fulltimeinter.net/horse_ebooks_large_verge_medium_landscape.jpg',\r\n  encoding: null,\r\n  headers: { Origin: 'Bundler', Host: 'nosmo.me' } }\r\nerror: Failed to call a resource response hook. Error: DEPTH_ZERO_SELF_SIGNED_CERT\r\nFailed to create bundle for /?url=https://nosmo.me\r\nError: DEPTH_ZERO_SELF_SIGNED_CERT\r\n```\r\n\r\nrun on OS X 10.9 with Node 0.10"},"comment":{"url":"https://api.github.com/repos/equalitie/bundler/issues/comments/75161710","html_url":"https://github.com/equalitie/bundler/issues/9#issuecomment-75161710","issue_url":"https://api.github.com/repos/equalitie/bundler/issues/9","id":75161710,"user":{"login":"redwire","id":682761,"avatar_url":"https://avatars.githubusercontent.com/u/682761?v=3","gravatar_id":"","url":"https://api.github.com/users/redwire","html_url":"https://github.com/redwire","followers_url":"https://api.github.com/users/redwire/followers","following_url":"https://api.github.com/users/redwire/following{/other_user}","gists_url":"https://api.github.com/users/redwire/gists{/gist_id}","starred_url":"https://api.github.com/users/redwire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redwire/subscriptions","organizations_url":"https://api.github.com/users/redwire/orgs","repos_url":"https://api.github.com/users/redwire/repos","events_url":"https://api.github.com/users/redwire/events{/privacy}","received_events_url":"https://api.github.com/users/redwire/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T23:31:38Z","updated_at":"2015-02-19T23:31:38Z","body":"Fixed in https://github.com/equalitie/bundler/commit/33a24a1b5be0f5cd60b110edd228ea4508f80e4f by allowing self-signed certs."}}