More strict SSL proxy setting fixes (#22404)

This commit is contained in:
Charles Gagnon
2023-03-22 12:45:51 -07:00
committed by GitHub
parent a3e77c674c
commit ca4722360a
5 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ export class ServiceClient {
const config: IConfig = JSON.parse(rawConfig.toString());
config.installDirectory = path.join(context.extensionPath, config.installDirectory);
config.proxy = this.apiWrapper.getConfiguration('http').get('proxy');
config.strictSSL = this.apiWrapper.getConfiguration('http').get('proxyStrictSSL') || true;
config.strictSSL = this.apiWrapper.getConfiguration('http').get('proxyStrictSSL', true);
const serverdownloader = new ServerProvider(config);
serverdownloader.eventEmitter.onAny(this.generateHandleServerProviderEvent());