[libvirt] SYSCONF_DIR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can do  TLS certificate authentication on a remote libvirt access 
through  'virsh'   ( virsh -c  qemu+tls://hostnake/system) .
But  when I try same auth  from my C code linked with  libvirt 0.6.1 I get 
the message : " libvir:  Remote error:  cannot access CA  certificate 
'/usr/local/etc/pki/CA/cacert.pem   . No such file or directory"

My certificate is at /etc/pki/CA   as instructed in the web site (deafult) 
and so is my libvirtd.conf saying.   virsh works ok with it . 
In  my case the server and client are on same machine .

I guess  the need for  SYSCONF_DIR = /usr/local/etc  comes from the 
configure of the libvirt . In fact I see  in the configure file the 
statement :  sysconfigdir = '${prefix}/etc .

Any idea how to fix that . I am using the installed libvirt . did not 
rebuild it . 

thanks


Zvi Dubitzky 
Virtualization and System Architecture   Email:dubi@xxxxxxxxxx
IBM Haifa Research Laboratory    Phone: +972-4-8296182
Haifa, 31905, ISRAEL 


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]