[libvirt-users] Python API - setting client certificate path
Matthias Bolte
matthias.bolte at googlemail.com
Sat Apr 9 05:03:17 UTC 2011
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
More information about the libvirt-users
mailing list