无法获取本地颁发者证书 vscode

kar*_*yan 11 proxy visual-studio-code

我正在尝试安装 VSCode 的扩展。但无法获得本地发行人证书。我的设置.json

    // Place your settings in this file to overwrite the default settings { // Controls the font family.
"editor.fontFamily": "Consolas",

    // Controls the font size.
"editor.fontSize": 12,

    //Setting corporate proxy
"http.proxy": "http://proxy_servr:3128",
"https.proxy": "http://proxy_servr:3128",

    //Disable SSL Verification
"http.proxyStrictSSL": false }
Run Code Online (Sandbox Code Playgroud)

Raj*_*ana 7

在 VS 代码中:单击文件 -> 首选项 -> 设置

{
"http.proxyStrictSSL":false,
"http.proxy":"http://USERID:PASSWORD@proxy.domain.com:3128"
}
Run Code Online (Sandbox Code Playgroud)

您似乎尚未将身份验证凭据添加到 http.proxy


dio*_*ogo 6

编辑%AppData%/Roaming/Code/User/settings.json,添加:

{
    ...
    "http.proxyStrictSSL":false,
    ...
}
Run Code Online (Sandbox Code Playgroud)