2016-08-23 34 views

回答

4

你後面的企業代理?他們很可能攔截& MiTM使用自簽名SSL證書的流量。

哈克解決方案只是關閉SSL的NPM

npm set strict-ssl false 

更詳細的說明可以在這裏找到:How to fix SSL certificate error when running Npm on Windows?

參考文獻:

https://github.com/Medium/phantomjs#i-am-behind-a-corporate-proxy-that-uses-self-signed-ssl-certificates-to-intercept-encrypted-traffic

https://security.stackexchange.com/questions/101721/is-it-possible-for-corporation-to-intercept-and-decrypt-ssl-tls-traffic

+0

如何解釋關於Err Windows_NT 6.1.7601?這是否意味着我的Windows版本無法兼容npm? – Jerry

+0

我嘗試「npm set strict-ssl false」,它仍然不起作用 – Jerry