-
Notifications
You must be signed in to change notification settings - Fork 4k
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
SSL Validation Failed on Fresh Install (SSL: CERTIFICATE_VERIFY_FAILED) #7552
Comments
Hi @TheNathanBlake thanks for reaching out. There is a section on the |
@tim-finnigan We're not using a proxy, and we have no certificate authority we're using in AWS. For all intents, this should be a fairly basic, non-certificate setup. Why would I need to go through setting up a certificate locally if there's not one already configured? |
to find your companies .pem file? |
I have similar issue, here is what I have tried. Environment details:
Version:
Hi @tim-finnigan
|
Hello and thanks for following up here. I recommend reinstalling the AWS CLI per the recommended steps and confirming that a proxy isn't the issue. Then locate your certificate (for example The |
In my case, ZScaler caused this error, I had to switch it off._ |
Describe the bug
After running
aws configure
on a fresh install, attempting a basic command such asaws s3 ls
returns the following error:SSL validation failed for https://s3.us-west-2.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)
Expected Behavior
The s3 ls command should execute
Current Behavior
SSL validation failed for https://s3.us-west-2.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)
Reproduction Steps
Install aws cli using the macOS steps in this guide: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Run
aws configure
using AWS access key, access key secret, and entering us-west-2 as domainRun
aws s3 ls
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.9.10 Python/3.9.11 Darwin/21.6.0 exe/x86_64 prompt/off
Environment details (OS name and version, etc.)
OS: macOS Monterey 12.6 (21G115)
The text was updated successfully, but these errors were encountered: