How do I get Visual Studio Code to trust our self-signed proxy certificate?

前端 未结 4 1595
后悔当初
后悔当初 2020-12-06 04:01

Our corporate firewall/proxy is keeping VS Code from being able to install extensions because Code doesn\'t trust something in the chain. It doesn\'t reliably give an error,

4条回答
  •  难免孤独
    2020-12-06 05:00

    I was having the same issue, not when installing an extension, but when a certain extension was trying to download data. Adding "http.proxyStrictSSL": false to my settings file did not work. Disabling SSL is also a really bad idea.

    The resolution was to install the Visual Studio Code win-ca plugin which makes trusted Windows certificates available to extensions.

提交回复
热议问题