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

[Bug] Azure Python runtime doesn't respect REQUESTS_CA_BUNDLE #1560

Open
ErikApption opened this issue Aug 9, 2024 · 0 comments
Open

[Bug] Azure Python runtime doesn't respect REQUESTS_CA_BUNDLE #1560

ErikApption opened this issue Aug 9, 2024 · 0 comments

Comments

@ErikApption
Copy link

Expected Behavior

We need to deploy a custom cert in the root bundle. REQUESTS_CA_BUNDLE works locally but when deployed on Azure Environment, the custom bundle is not loaded.

Actual Behavior

Default bundle is loaded

Steps to Reproduce

  1. Add REQUESTS_CA_BUNDLE setting to a python function
  2. Use python function with request library and signed cert with custom authority
  3. '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get issuer certificate (_ssl.c:1006)')))

Relevant code being tried

No response

Relevant log output

No response

requirements.txt file

No response

Where are you facing this problem?

Production Environment (explain below)

Function app name

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant