Wojciech Gumularz
2011-Apr-08 22:45 UTC
[libvirt-users] Python API - setting client certificate path
Hi there, I'm trying to establish a TLS connection to libvirtd with certificates verification from a python script. My question is quite simple: is it possible to set the client certificate/keyfile path from within a python script? or it has to be in /etc/pki/libvirt/... Thanks in advance for any help Wojciech Gumularz
Matthias Bolte
2011-Apr-09 05:03 UTC
[libvirt-users] Python API - setting client certificate path
2011/4/9 Wojciech Gumularz <wgumularz at gmail.com>:> Hi there, > I'm trying to establish a TLS connection to libvirtd with certificates > verification from a python script. My question is quite simple: > > is it possible to set the client certificate/keyfile path from within a > python script? or it has to be in /etc/pki/libvirt/...See http://libvirt.org/remote.html#Remote_URI_parameters and http://libvirt.org/remote.html#Remote_PKI for the pkipath parameter. For example: qemu+tls://remove-server.com/system/?pkipath=/path/to/my/certificates This requires libvirt 0.8.8 or newer. Matthias