-
Notifications
You must be signed in to change notification settings - Fork 491
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
"Connect to AWS" error: unable to get local issuer certificate #899
Comments
|
Hi Justin, I'm not a new user. Before 1.5, I used 1.3...something and it didn't work then either. I have never gotten it to work nor anybody of my friends. Therefore, I don't think it's a regression. Can you elaborate on how I can apply #888? Is this fix going to be part of a public version soon? Thank you! |
Yes. |
Hi @MatthiasPdx when the next toolkit is released, if your issue is not resolved, it should at least have more verbose logging that you will be able to share in the issue to better identify the issue. To confirm, are the credentials contents you have shared in the original post located in |
@awschristou, yes I have my files
I'll be waiting for the next version of the toolkit to report back. Thank you! |
The toolkit v1.6.0 is now released. It contains verbose logging when selecting credentials in the toolkit. If you continue to get errors when trying to use credentials in the toolkit, set your AWS Toolkit logging to verbose, then try to select credentials in the toolkit. The generated logs should help to explain if the credentials were considered invalid. I'll leave this ticket open a short while in case you have a chance to try it out and report back. |
Thank you! Error: unable to get local issuer certificate Full log: aws_toolkit_20200207T155025.log Do you have a suggestion as to what I should try? Thank you for looking into it. |
Sounds like #917 |
@justinmk3, the user in #917 describes "After connecting to AWS, I try to expand...". For me the error shows earlier after clicking on 'Connect to AWS' and 'profile:default. |
From nodejs/node#3742 (comment) ,
@MatthiasPdx are you on a corporate managed computer or network?
Related vscode doc: VScode exposes some related settings:
What are the values of those settings in your vscode? Tracking issue: #185 |
I am running into the same issue. Anyone tried squid locally to handle a custom CA bundle?
|
@lmayorga1980 are you able to answer the questions above: #899 (comment) |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Go to Visual Studio -> Settings icon -> Settings -> search for Proxy -> Remove http proxy if any -> uncheck Http: Proxy Strict SSL -> restart Visual studio code This solved my problem. If at all you are not able to do it. Try removing proxy from settings.. Go out of VPN and then try it again. Or else check if u are setting any http proxy in your environmental variables. Remove it and try |
hi @MatthiasPdx did you find any way to have aws-toolkit-vscode accept and use a custom CA ? (sorry for digging, but it seems the problem remains 2 years later...) I have the exact same problem :
|
@alxrdn That means vscode/nodejs/electron can't find the configured certificates on the system. On Windows, this vscode extension may help (not associated with AWS): https://marketplace.visualstudio.com/items?itemName=ukoloff.win-ca |
Describe the bug
Error suggesting invalid profile on machine with existing credentials file in use with aws cli
To Reproduce
After installing and ctrl+shift+p -> connect to AWS on a machine that already has a credentials file in the home directory, the user is given a list of profiles in the credentials file. Selecting either of my profiles returns an error "Credentials profile is invalid"
Expected behavior
AWS connects to that profile.
Screenshots
Desktop (please complete the following information):
Version: 1.41.1 (user setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.17763
Additional context
I read through #705 which shows the same symptoms but following the recommended steps of reinstalling the latest VSCode, restarting it and having lower case credential key names didn't work for me.
Here is the content of my credential file with altered keys:
Please let me know if you have any suggestions.
Thank you!
The text was updated successfully, but these errors were encountered: