virtsh connect qemu error: Cannot read CA certificate

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

virtsh connect qemu error: Cannot read CA certificate

Post 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:
Post Reply