Support /etc/pki/tls cert store for older RHEL/Fedora systems#976
Support /etc/pki/tls cert store for older RHEL/Fedora systems#976mrmathematica wants to merge 2 commits intoastral-sh:mainfrom
Conversation
|
LGTM. Thanks for putting this together. I want to build this locally and check on an effected system before merging. Should have a result later today. |
|
I built Python 3.14 with this patch locally and tested in a Fedora 33 Docker container. I am not seeing the cert bundle in /etc/pki/tls/cert.pem being used without setting the |
|
Note that the new location is getting picked up from the patch: |
Look for /etc/pki/tls/cert.pem when /etc/ssl/cert.pem is not available on RHEL 8 and Fedora 33 and below. Fixes astral-sh#858, astral-sh#259
|
Thanks @jjhelmus I see it needs to call |
|
I think The patch should check for a Linux platform and then for |
|
The behavior of the environment variables |
|
@jjhelmus Thanks for the suggestion. Now I see patching Environment variables SSL_CERT_FILE and SSL_CERT_DIR was always preserved, previously via |
Look for /etc/pki/tls/cert.pem when /etc/ssl/cert.pem is not available on RHEL 8 and Fedora 33 and below.
Fixes #858, #259