Bug 1859495
| Summary: | dnf doesn't work with pkcs11 client certificate and key | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Masahiro Matsuya <mmatsuya> |
| Component: | librepo | Assignee: | Lukáš Hrázký <lhrazky> |
| Status: | CLOSED ERRATA | QA Contact: | Eva Mrakova <emrakova> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.2 | CC: | bcao, emrakova, lberton, lhrazky, mblaha, pstodulk, sbland |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | librepo-1.12.0-3.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 15:07:42 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: | |||
|
Description
Masahiro Matsuya
2020-07-22 09:40:41 UTC
Thank you very much, Masahiro, I was able to reproduce the issue easily and I appreciate the time you've put into such a thorough explanation. I've verified the solution and created a pull request, putting you as the author (I only added the block scope curly brackets): https://github.com/rpm-software-management/librepo/pull/215 Mike, your issue is most likely unrelated, please check the bug description, it is just describing a whole different case AFAICS. There's no incentive to backport Masahiro's patch to RHEL 7, as it is basically adding new functionality. I don't know off the top of my head, but it seems to me you're simply missing the certificate for your mirror and you need to fix that. Unlikely a bug in yum. Since I see pulp in the URL, maybe the Pulp people can help you with this specific case. (In reply to Lukáš Hrázký from comment #13) > Mike, your issue is most likely unrelated, please check the bug description, > it is just describing a whole different case AFAICS. > > There's no incentive to backport Masahiro's patch to RHEL 7, as it is > basically adding new functionality. > > I don't know off the top of my head, but it seems to me you're simply > missing the certificate for your mirror and you need to fix that. Unlikely a > bug in yum. Since I see pulp in the URL, maybe the Pulp people can help you > with this specific case. Sorry. I missed 2 lines in copy&paste. Here is the repo used during RHEL7 upgrade to RHEL8 [rhui-rhel-8-for-x86_64-baseos-rhui-rpms] name=Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs) mirrorlist=<customer mirror link> enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release1 sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle1.crt sslclientcert=/etc/pki/rhui/product/content1.crt sslclientkey=/etc/pki/rhui/key1.pem Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (librepo bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1689 |