{"action":"created","issue":{"url":"https://api.github.com/repos/imagemin/optipng-bin/issues/74","repository_url":"https://api.github.com/repos/imagemin/optipng-bin","labels_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/74/comments","events_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/74/events","html_url":"https://github.com/imagemin/optipng-bin/issues/74","id":154177977,"number":74,"title":"enable non strict-ssl install option","user":{"login":"p2227","id":4214942,"avatar_url":"https://avatars.githubusercontent.com/u/4214942?v=3","gravatar_id":"","url":"https://api.github.com/users/p2227","html_url":"https://github.com/p2227","followers_url":"https://api.github.com/users/p2227/followers","following_url":"https://api.github.com/users/p2227/following{/other_user}","gists_url":"https://api.github.com/users/p2227/gists{/gist_id}","starred_url":"https://api.github.com/users/p2227/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p2227/subscriptions","organizations_url":"https://api.github.com/users/p2227/orgs","repos_url":"https://api.github.com/users/p2227/repos","events_url":"https://api.github.com/users/p2227/events{/privacy}","received_events_url":"https://api.github.com/users/p2227/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-11T07:32:04Z","updated_at":"2016-05-11T07:34:32Z","closed_at":"2016-05-11T07:34:32Z","body":"os:win7 x64\r\ncmd: npm i optipng-bin\r\n\r\nerror info:\r\n```\r\n> optipng-bin@3.1.1 postinstall D:\\xxxxx\\node_modules\\optipng-bin\r\n> node lib/install.js\r\n\r\n  ‼ unable to verify the first certificate\r\n  ‼ optipng pre-build test failed\r\n  i compiling from source\r\n```\r\n\r\n\r\ni know that the error `unable to verify the first certificate` cause by an https download over proxy but use strict ssl.\r\n\r\nwe can config `strict-ssl:false` in npm config. (`npm config set strict-ssl false `)\r\n\r\nhow can i  enable non strict-ssl download via some envionment variables or function arguments ?\r\n\r\nI fount that the error may be cause by `bin-build` `download` `caw` or `got`"},"comment":{"url":"https://api.github.com/repos/imagemin/optipng-bin/issues/comments/218384075","html_url":"https://github.com/imagemin/optipng-bin/issues/74#issuecomment-218384075","issue_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/74","id":218384075,"user":{"login":"shinnn","id":1131567,"avatar_url":"https://avatars.githubusercontent.com/u/1131567?v=3","gravatar_id":"","url":"https://api.github.com/users/shinnn","html_url":"https://github.com/shinnn","followers_url":"https://api.github.com/users/shinnn/followers","following_url":"https://api.github.com/users/shinnn/following{/other_user}","gists_url":"https://api.github.com/users/shinnn/gists{/gist_id}","starred_url":"https://api.github.com/users/shinnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinnn/subscriptions","organizations_url":"https://api.github.com/users/shinnn/orgs","repos_url":"https://api.github.com/users/shinnn/repos","events_url":"https://api.github.com/users/shinnn/events{/privacy}","received_events_url":"https://api.github.com/users/shinnn/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T07:34:32Z","updated_at":"2016-05-11T07:34:32Z","body":"https://docs.npmjs.com/misc/config#environment-variables\r\n\r\n`NPM_CONFIG_STRICT_SSL=false` should work.\r\n"}}