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

前端 未结 4 1594
后悔当初
后悔当初 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 04:43

    This is a terrible answer (not very secure), but appears to be the current Microsoft official answer. Use "http.proxyStrictSSL": false in your settings.json file.

    This should work to get around the issue of installing extensions inside a corporate network, but I'd recommend disabling the setting if you are going to be working from home/coffee shop and not connected to the corporate VPN.

    https://github.com/Microsoft/vscode/issues/3492

提交回复
热议问题