You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While executing aws ec2 describe-instances, it results to
SSL validation failed for https://ec2.eu-west-1.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
aws sso login is successful and aws s3 ls works fine. However, aws ec2 and aws sts results to similar error. i haven't tried other commands yet as these basic commands are failing.
If I bypass ssl verification, it works fine but without no-verify-ssl flag, it fails.
Note: I had added the certificates to same bundle that was used for sso
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
command should return ec2 details even with out no-verify-ssl flag
Current Behavior
SSL validation failed for https://ec2.eu-west-1.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
Reproduction Steps
set up env vars for HTTP_PROXY, HTTPS_PROXY, AWS_CA_BUNDLE
aws configure sso or aws sso login - Success
aws s3 ls - Success
aws ec2 describe-instances - Fails
aws sts get-caller-identity - Fails
Describe the bug
While executing aws ec2 describe-instances, it results to
SSL validation failed for https://ec2.eu-west-1.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
aws sso login is successful and aws s3 ls works fine. However, aws ec2 and aws sts results to similar error. i haven't tried other commands yet as these basic commands are failing.
If I bypass ssl verification, it works fine but without no-verify-ssl flag, it fails.
Note: I had added the certificates to same bundle that was used for sso
Regression Issue
Expected Behavior
command should return ec2 details even with out no-verify-ssl flag
Current Behavior
SSL validation failed for https://ec2.eu-west-1.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
Reproduction Steps
set up env vars for HTTP_PROXY, HTTPS_PROXY, AWS_CA_BUNDLE
aws configure sso or aws sso login - Success
aws s3 ls - Success
aws ec2 describe-instances - Fails
aws sts get-caller-identity - Fails
Possible Solution
No response
Additional Information/Context
https://gist.github.com/gitissuepost/56ea901617a6168b6619d12f676a049e
CLI version used
2.22.25
Environment details (OS name and version, etc.)
Windows 10 22H2 Build#19045
The text was updated successfully, but these errors were encountered: