-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
SSL_CERT_FILE and SSL_CERT_DIR environment variables are ignored #138795
Copy link
Copy link
Open
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-SSLtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Hello,
Since Python 3.13, the following environment variables are no longer honored :
REQUESTS_CA_BUNDLESSL_CERT_FILESSL_CERT_DIR
This is problematic in a corporate environment where a custom CA must be added. This was the only reliable way to make existing code, especially external libraries, trust a custom CA. It was easy and functional, and I don't understand why this feature is no longer here.
In addition, this new behavior is not sufficiently documented, and no workaround is proposed.
Thank you
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-SSLtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error