Bug 2380442

Summary: Moving of off /etc/pki/tls/certs/ca-bundle.crt
Product: [Fedora] Fedora Reporter: Frantisek Krenzelok <fkrenzel>
Component: python-pycurlAssignee: Jacek Migacz <jmigacz>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: jamacku, jmigacz, kdudka, msekleta, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-04 10:44:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2360110    

Description Frantisek Krenzelok 2025-07-16 09:51:50 UTC
Hello in anticipation of https://fedoraproject.org/wiki/Changes/dropingOfCertPemFile fedora change proposal, which is taking effect during the fedora rawhide mass rebuild (starting 23th of July), we would like you to add `/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem` to the following list in the source code as the other items will not be present on the system.

```
pycurl-7.45.6/src/module.c:298:    "/etc/ssl/certs/ca-certificates.crt",
pycurl-7.45.6/src/module.c:299:    "/etc/pki/tls/certs/ca-bundle.crt",
pycurl-7.45.6/src/module.c:300:    "/usr/share/ssl/certs/ca-bundle.crt",
pycurl-7.45.6/src/module.c:302:    "/etc/ssl/cert.pem",
```

Comment 1 Jacek Migacz 2025-08-06 11:28:52 UTC
I've submitted PR at https://src.fedoraproject.org/rpms/python-pycurl/pull-request/13

Comment 2 Jacek Migacz 2025-09-04 10:44:24 UTC
Note, this change is not necessary. The hard-coded list of CA bundle paths is only used if PYCURL_AUTODETECT_CA is defined, and as far as I can see, Fedora doesn't define this compile option (nor should it). This compile option is used mainly for building cross-distribution wheels.

See: https://src.fedoraproject.org/rpms/python-pycurl/pull-request/13