Skip to content

Commit ebfbc66

Browse files
committed
No need to set CA certs when SSL verification is disabled
1 parent 7b6252f commit ebfbc66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/shared/utilities/proxyUtil.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export class ProxyUtil {
9090
if (!strictSSL) {
9191
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'
9292
this.logger.info('SSL verification disabled via VS Code settings')
93+
return // No need to set CA certs when SSL verification is disabled
9394
}
9495

9596
// Set certificate bundle environment variables if user configured

0 commit comments

Comments
 (0)