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 badges2 Answers
Reset to default 3I 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条)