Re: Python API - setting client certificate path

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

 



2011/4/9 Wojciech Gumularz <wgumularz@xxxxxxxxx>:
> 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


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux