Bug 719838 - error : virNetTLSContextLoadCredentials:162 : Unable to set x509 key and certificate
Summary: error : virNetTLSContextLoadCredentials:162 : Unable to set x509 key and cert...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.2
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-08 06:31 UTC by Nan Zhang
Modified: 2011-12-06 11:16 UTC (History)
9 users (show)

Fixed In Version: libvirt-0.9.3-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 11:16:06 UTC
Target Upstream Version:


Attachments (Terms of Use)
libvirtd log (18.51 KB, text/plain)
2011-07-08 07:22 UTC, Nan Zhang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1513 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2011-12-06 01:23:30 UTC

Description Nan Zhang 2011-07-08 06:31:07 UTC
Description of problem:
as subject.

Version-Release number of selected component (if applicable):
libvirt-0.9.3-1.el6.x86_64
vdsm-4.9-71.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. yum install vdsm. 
2. yum install rhevm.
3. start vdsmd service. 
  
Actual results:
06:44:49.801: 3650: error : virNetTLSContextLoadCredentials:162 : Unable to set x509 key and certificate: /etc/pki/vdsm/certs/vdsmcert.pem, /etc/pki/vdsm/keys/vdsmkey.pem: Base64 unexpected header error.

Expected results:
it should be works well.

Additional info:

Comment 5 Daniel Berrangé 2011-07-08 10:16:49 UTC
The order of the key/cert parameters was reversed in one case. This only affected people overriding the default locations for certs in libvirtd.conf

http://www.redhat.com/archives/libvir-list/2011-July/msg00413.html

Comment 7 David Naori 2011-07-11 19:27:23 UTC
Verified.
libvirt-0.9.3-2.el6 
vdsm-4.9-81.el6.x86_64

Comment 8 errata-xmlrpc 2011-12-06 11:16:06 UTC
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1513.html


Note You need to log in before you can comment on or make changes to this bug.