-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: self signed certificate in chain [SELF_SIGNED_CERT_IN_CHAIN] #3417
Comments
Are you behind a proxy?
Check
Related: #185 |
@justinmk3 able to proceed with turning off the proxy setting, thanks! |
I'm behind a proxy but only for AWS traffic and I do not have any proxy settings set in VSCode. I have my ca_bundle specified in my AWS config. Everything works fine for cli access and was working fine for toolkit access. On VSCode version 1.77.3 and AWS Toolkit version 1.71.0, I am not receiving a self-signed certificate error. Everything works as expected. On VSCode version 1.78.0 and AWS Toolkit version 1.71.0, I am receiving a self-signed certificate error. I'm also seeing that the profile selector isn't updating with the most recent profile after selecting a different connection profile either. |
@djkong7 thanks for those details, that implies there was a vscode change that triggered this. Are you on Windows? Based on microsoft/vscode#181404 (comment) ,
Perhaps we can/should be using the vscode API to make https requests instead of nodejs. #2205 |
@justinmk3 Thank you for the quick reply. I am on windows. Unfortunately for me, configuring a proxy in VSCode is not an option. |
vscode 1.78.2 was released with a fix for microsoft/vscode#181404 |
Problem
when I try to login with AWS codewishperer, it propmot below msg
2023-05-04 15:04:17 [INFO]: selected AWS ID sign in
2023-05-04 15:04:17 [ERROR]: API response (oidc.us-east-1.amazonaws.com /client/register): { code: 'SELF_SIGNED_CERT_IN_CHAIN' }
2023-05-04 15:04:17 [ERROR]: aws.codeWhisperer.sso: Error: Failed to connect to AWS Builder ID [FailedToConnect]
-> Error: self signed certificate in certificate chain [SELF_SIGNED_CERT_IN_CHAIN]
Steps to reproduce the issue
Expected behavior
System details (run the
AWS: About Toolkit
command)The text was updated successfully, but these errors were encountered: