Bug 2358273

Summary: cbs-koji.conf points to non existing /etc/pki/tls/certs/ca-bundle.trust.crt
Product: [Fedora] Fedora Reporter: Sandro Bonazzola <sbonazzo>
Component: centos-packagerAssignee: Davide Cavalca <davide>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: davide, epel-packagers-sig, fkrenzel, peter.georg
Target Milestone: ---Keywords: Regression, Upgrades
Target Release: ---Flags: fkrenzel: needinfo? (davide)
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: centos-packager-0.7.0-20.fc45 centos-packager-0.7.0-20.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-02 16:38:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Bonazzola 2025-04-08 14:02:37 UTC
On Fedora 42:

# cbs list-tagged virt10s-kvm-common-candidate
2025-04-08 15:50:08,123 [ERROR] koji: OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/pki/tls/certs/ca-bundle.trust.crt

# rpm -qV centos-packager

shows no changes in the installed config file.

The file /etc/pki/tls/certs/ca-bundle.trust.crt is really missing

# dnf provides /etc/pki/tls/certs/ca-bundle.trust.crt
Updating and loading repositories:
Repositories loaded.
No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.

# dnf provides "*/ca-bundle.trust.crt"
Updating and loading repositories:
Repositories loaded.
No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.

Reproducible: Always

Steps to Reproduce:
1. Install centos-packager-0.7.0-16.fc42.noarch on fedora 42
2. Try to use it
3.
Actual Results:  
Fails on missing /etc/pki/tls/certs/ca-bundle.trust.crt

Expected Results:  
should work

it used to work on Fedora 41

Comment 1 Sandro Bonazzola 2025-04-08 14:05:45 UTC
Workaround: comment out the line "serverca = /etc/pki/tls/certs/ca-bundle.trust.crt"
but I think having a working server CA check would be better.

Comment 2 Frantisek Krenzelok 2025-04-14 14:58:06 UTC
My apologies for the trouble

I have got a new build with a bugfix in Bodhi https://bodhi.fedoraproject.org/updates/FEDORA-2025-d27d5ffd7a this reintroduces the file.

Comment 3 Peter Georg 2025-07-24 11:50:47 UTC
While this might be fixed for Fedora 42, it seems Fedora 43 and RHEL 10 are missing /etc/pki/tls/certs/ca-bundle.trust.crt. I.e., Fedora 43+ and EPEL10 are affected by this issue.

One possible fix seems using "serverca = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"

Comment 4 Frantisek Krenzelok 2025-07-24 12:36:33 UTC
Hey Peter,

As for Fedora43+ the file will not be present in the future, so the one possible fix you have mentioned is suggested but not optimal https://fedoraproject.org/wiki/Changes/dropingOfCertPemFile, unless of course there is a good reason why centos-packager uses the bundle with the openssl -- EXTENDED BEGIN TRUST -- format.

The optimal solution here is to use OpenSSL defaults, I wonder why the bundle has to be specified. Davide any ideas?

As for RHEL-10 I will be reverting that change in a week or so during the annual update of certificates.

Comment 5 Fedora Release Engineering 2026-05-06 12:34:11 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Fedora Update System 2026-06-02 16:34:18 UTC
FEDORA-2026-82ee473b27 (centos-packager-0.7.0-20.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-82ee473b27

Comment 7 Fedora Update System 2026-06-02 16:38:24 UTC
FEDORA-2026-82ee473b27 (centos-packager-0.7.0-20.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-06-02 16:46:59 UTC
FEDORA-2026-80d22b7eff (centos-packager-0.7.0-20.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-80d22b7eff

Comment 9 Fedora Update System 2026-06-03 01:34:28 UTC
FEDORA-2026-80d22b7eff has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-80d22b7eff`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-80d22b7eff

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-06-04 01:49:09 UTC
FEDORA-2026-80d22b7eff (centos-packager-0.7.0-20.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.