Skip to content

SSL CERTIFICATE_VERIFY_FAILED aws cli  #3296

@daniellewbush

Description

@daniellewbush

@awstools
@jamesls
@JordonPhillips

Thanks in advance!!

AWS CLI version 1.15.10
RHEL 7.4

.aws/config:
[default]
output = text
region = us-east-1

Instance has a role associated allowing cloudformation full access.
There are no endpoints configured in the ##VPC.

execute $aws ec2 describe-instances
....no error

execute $aws cloudformation describe-stacks
I get [SSL: CERTIFICATE_VERIFY_FAILED ] certificate verify failed (_ssl.c:579)

When I give --no-verify-ssl, it works.

I know I can set the AWS_CA_BUNDLE variable, and/or use it as a switch, but I don't know what cert to use. Do I have to get the proxy cert off the proxy? And why just for aws cloudformation vs. aws ec2?

#3009
Thanks again very much,

Metadata

Metadata

Assignees

No one assigned

    Labels

    closing-soonThis issue will automatically close in 4 days unless further comments are made.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions