Skip to content

Commit 523fc16

Browse files
committed
fix(amazonq): Add proxy configuration support with SSL Cert Validation
1 parent 6c88e44 commit 523fc16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class ProxyUtil {
3939
private static getProxyConfiguration(): ProxyConfig {
4040
const httpConfig = vscode.workspace.getConfiguration('http')
4141
const proxyUrl = httpConfig.get<string>('proxy')
42-
this.logger.debug(`Proxy URL: ${proxyUrl}`)
42+
this.logger.debug(`Proxy URL Setting in VSCode Settings: ${proxyUrl}`)
4343

4444
const amazonQConfig = vscode.workspace.getConfiguration('amazonQ')
4545
const proxySettings = amazonQConfig.get<{
@@ -60,6 +60,8 @@ export class ProxyUtil {
6060

6161
// Always enable experimental proxy support for better handling of both explicit and transparent proxies
6262
process.env.EXPERIMENTAL_HTTP_PROXY_SUPPORT = 'true'
63+
// Add OpenSSL certificate store support
64+
process.env.NODE_OPTIONS = '--use-openssl-ca'
6365

6466
// Set proxy environment variables
6567
if (proxyUrl) {

0 commit comments

Comments
 (0)