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
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.
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.
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"
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.
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.