Page 1 of 1

virtsh connect qemu error: Cannot read CA certificate

Posted: Thu Dec 18, 2014 1:49 pm
by peter_b
[PROBLEM]
With virsh, you can connect to another KVM host, like this:
$ sudo virsh --connect qemu://bb4.dlp-storage.local/system list --all
Unfortunately, on my Debian 7 (Wheezy) box, it throws the following error:

Code: Select all

error: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
error: failed to connect to the hypervisor

[SOLUTION]
I haven't actually tried it yet, but here are links to related libvirt Wiki pages: