Comment 5 for bug 366455

Revision history for this message
Ishmael (ishmaelt3) wrote :

Hi,

I see this is from 2010 but I am experiencing the same problem as seen below:

root@ceph1:/cert_files# virsh -c qemu+tls://ceph1/system hostname
2016-04-29 14:15:52.077+0000: 2741: info : libvirt version: 1.2.16, package: 1.2.16-2ubuntu11.15.10.3
2016-04-29 14:15:52.077+0000: 2741: warning : virNetTLSContextCheckCertificate:1145 : Certificate check failed Certificate failed validation: The certificate is not trusted.
error: failed to connect to the hypervisor
error: authentication failed: Failed to verify peer's certificate
root@ceph1:/cert_files# openssl verify -CAfile /etc/pki/CA/cacert.pem /etc/pki/libvirt/clientcert.pem
/etc/pki/libvirt/clientcert.pem: OK

Please assist if possible