Skip to content
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

Use CURL_CA_BUNDLE when AWS_CA_BUNDLE is not set #9020

Open
2 tasks
acdha opened this issue Dec 9, 2022 · 1 comment
Open
2 tasks

Use CURL_CA_BUNDLE when AWS_CA_BUNDLE is not set #9020

acdha opened this issue Dec 9, 2022 · 1 comment
Labels
cross-sdk feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@acdha
Copy link

acdha commented Dec 9, 2022

Describe the feature

Our organization recently deployed HTTPS interception. This causes AWS CLI to fail because it doesn't use the common system paths (e.g. /etc/ssl/certs.pem) or the CURL_CA_BUNDLE environmental variable. Setting AWS_CA_BUNDLE to the same value as CURL_CA_BUNDLE will work but it would be nice if it followed the behaviour of other Python clients (e.g. requests) in using the CURL_CA_BUNDLE unless AWS_CA_BUNDLE is set.

Use Case

We have a number of technical users and each of their systems needs to be updated, including tools running inside containers. It would be nice if AWS CLI reused the same configuration as other tools.

Proposed Solution

If AWS_CA_BUNDLE is defined, use that.
If CURL_CA_BUNDLE is defined, use that.

I would prefer to use truststore but that package is still considered experimental by its authors.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

aws-cli/2.9.5 Python/3.11.0 Darwin/22.1.0 source/arm64 prompt/off

Environment details (OS name and version, etc.)

ProductName: macOS ProductVersion: 13.0.1 BuildVersion: 22A400

@acdha acdha added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Dec 9, 2022
@tim-finnigan tim-finnigan self-assigned this Dec 9, 2022
@tim-finnigan
Copy link
Contributor

Hi @acdha thanks for reaching out. Feature requests related to environment variable configuration should be tracked in our cross-SDK repository since those variables are used across AWS SDKs. I'll go ahead and transfer this issue there for further review.

@tim-finnigan tim-finnigan removed the needs-triage This issue or PR still needs to be triaged. label Dec 9, 2022
@tim-finnigan tim-finnigan transferred this issue from aws/aws-cli Dec 9, 2022
@tim-finnigan tim-finnigan added the p3 This is a minor priority issue label Sep 3, 2024
@tim-finnigan tim-finnigan transferred this issue from aws/aws-sdk Oct 30, 2024
@tim-finnigan tim-finnigan removed their assignment Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-sdk feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants