Bug 611822
| Summary: | libvirtd produces potentially misleading advice in error output for TLS failure | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Daniel Berrangé <berrange> |
| Component: | libvirt | Assignee: | Justin Clift <jclift> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0 | CC: | ccui, dallan, eblake, kwade, llim, nachandr, virt-maint, xen-maint, yoyzhang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.8.7-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 556599 | Environment: | |
| Last Closed: | 2011-05-19 13:19:32 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
Daniel Berrangé
2010-07-06 15:05:56 UTC
This was fixed in upstream libvirt some time ago:
commit 63d1b07f83382fdd82ac348810a0e766c2c9bfd1
Author: Justin Clift <jclift>
Date: Thu Sep 16 01:39:08 2010 +1000
libvirtd: improve the error message displayed on tls client auth failure
This address BZ # 556599:
https://bugzilla.redhat.com/show_bug.cgi?id=556599
Built into libvirt-0.8.7-1.el6 Verified this bug PASS with libvirt-0.8.7-1.el6.x86_64 - kernel-2.6.32-94.el6.x86_64 - qemu-kvm-0.12.1.2-2.128.el6.x86_64 The test steps are almost the same with in comment 8 except the client host and server host are not the same one. Actual result: On server host, # tail -f /var/log/messages Jan 10 23:43:56 dhcp-65-132 libvirtd: 23:43:56.679: 909: error : remoteCheckCertificate:1210 : Client's Distinguished Name is not on the list of allowed clients (tls_allowed_dn_list). Use 'certtool -i --infile clientcert.pem' to view theDistinguished Name field in the client certificate,or run this daemon with --verbose option. Jan 10 23:43:56 dhcp-65-132 libvirtd: 23:43:56.679: 909: error : remoteCheckAccess:1250 : remoteCheckCertificate: failed to verify client's certificate Verified this bug PASS with libvirt-0.8.7-1.el6.x86_64 - kernel-2.6.32-94.el6.x86_64 - qemu-kvm-0.12.1.2-2.128.el6.x86_64 The test steps are almost the same with in https://bugzilla.redhat.com/show_bug.cgi?id=556599#c8 except the client host and server host are not the same one. Actual result: On server host, # tail -f /var/log/messages Jan 10 23:43:56 dhcp-65-132 libvirtd: 23:43:56.679: 909: error : remoteCheckCertificate:1210 : Client's Distinguished Name is not on the list of allowed clients (tls_allowed_dn_list). Use 'certtool -i --infile clientcert.pem' to view theDistinguished Name field in the client certificate,or run this daemon with --verbose option. Jan 10 23:43:56 dhcp-65-132 libvirtd: 23:43:56.679: 909: error : remoteCheckAccess:1250 : remoteCheckCertificate: failed to verify client's certificate Rechecked it on the following test environment according to comment 4 on the different client and server host. It is passed. Test environment: libvirt-0.8.7-6.el6 qemu-kvm-0.12.1.2-2.144.el6 kernel-2.6.32-113.el6 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html |