Amazon Q self-signed certificate in certificate chain in VSCode
Problem
When trying to chat in VSCode, the response shows as "self-signed certificate in certificate chain", while the inline completion feature works fine.
Steps to reproduce the issue
We are having an enterprise network here with self-signed certs, but all the settings have been done in windows system, it's been fixed for other extension before, but now Amazon Q seems not to work with there settings. What we have done here includes:
- Set VSCode
Http: Proxy Supporttooverride - Add system environment variables
NODE_EXTRA_CA_CERTS=path/to/certsandNODE_OPTIONS=--use-openssl-ca - Tried VSCode settings
"http.experimental.systemCertificatesV2": true
None of the above is working
Expected behavior
Inline Completion and Chat should both work, or they should just won't work altogether.
System details (run AWS: About and/or Amazon Q: About)
- OS: Windows 10
- Visual Studio Code version: 1.100.2
- AWS Toolkit version: Not installed
- Amazon Q version: 1.70.0
related:
- https://github.com/aws/aws-toolkit-vscode/issues/185
Amazon Q is getting blocked in my org
any updates?
Just an update, we had to shut off the SSL inspection to the following: URL's: https://codewhisperer.us-east-1.amazonaws.com (Inline,Chat, QSDA,...) https://q.us-east-1.amazonaws.com (Inline,Chat, QSDA....)
This fixed the issue for me.
Reference: https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/endpoints.html#w8aac13c19b9