javascript - How do I get rid of the error "self signed certificate in certificate chain" in VS Code when inst

I have installed VS Code (Windows 7 x64) and when I try to install any plugin I get the error "sel

I have installed VS Code (Windows 7 x64) and when I try to install any plugin I get the error "self signed certificate in certificate chain". I set "http.proxyStrictSSL": false and it helped me to get list of plugins but when i push the install button I get the error.

I have not set the proxy settings on my puter but I know that the network in my office is protected by CheckPoint firewall.

Can I somehow solve this problem to install plugins in VS Code? Or if I need to ask our security service for some extra permitions what kind of permit is required?

I have installed VS Code (Windows 7 x64) and when I try to install any plugin I get the error "self signed certificate in certificate chain". I set "http.proxyStrictSSL": false and it helped me to get list of plugins but when i push the install button I get the error.

I have not set the proxy settings on my puter but I know that the network in my office is protected by CheckPoint firewall.

Can I somehow solve this problem to install plugins in VS Code? Or if I need to ask our security service for some extra permitions what kind of permit is required?

Share edited Nov 3, 2016 at 19:56 DZN asked Nov 3, 2016 at 13:49 DZNDZN 1,5943 gold badges24 silver badges49 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

I know this is an older post, but I ran into the same problem... maybe this will help someone. I got it to work by using the setting you mentioned, as well as running as Administrator.

TL;DR

Install the win-ca extension before installing the desired extension.

Details

In my case, on Windows, I was trying to install the Partial Diff extension:

PS C:\> code-insiders.cmd --install-extension ryu1kn.partial-diff

But I was getting this error:

Installing extensions...
self signed certificate in certificate chain
Failed Installing Extensions: ryu1kn.partial-diff

Following the advice in a discussion on GitHub, I installed the win-ca extension first:

PS C:\> code-insiders.cmd --install-extension ukoloff.win-ca
Installing extensions...
Installing extension 'ukoloff.win-ca' v3.1.0...
(node:118392) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:118392) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Extension 'ukoloff.win-ca' v3.1.0 was successfully installed.

And then I was able to successfully install the Partial Diff extension:

PS C:\> code-insiders.cmd --install-extension ryu1kn.partial-diff
Installing extensions...
Installing extension 'ryu1kn.partial-diff' v1.4.0...
(node:113096) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:113096) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Extension 'ryu1kn.partial-diff' v1.4.0 was successfully installed.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744819516a4595530.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信