Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(transport): Use env vars for default CA cert bundle location (#3160
) Many libraries use the SSL_CERT_FILE environment variable to point at a CA bundle to use for HTTPS certificate verification. This is often used in corporate environments with internal CAs or HTTPS hijacking proxies, where the Sentry server presents a certificate not signed by one of the CAs bundled with Certifi. Additionally, Requests, Python's most popular HTTP client library, uses the REQUESTS_CA_BUNDLE variable instead. Use the SSL_CERT_FILE or REQUESTS_CA_BUNDLE vars if present to set the default CA bundle. Fixes GH-3158 Co-authored-by: Neel Shah <neel.shah@sentry.io>
- Loading branch information