NAME
Sys::Async::Virt::Connection::TLS - Connection to LibVirt server over TLS sockets
VERSION
v0.0.2
SYNOPSIS
use v5.26;
use Future::AsyncAwait;
use Sys::Async::Virt::Connection::Factory;
my $factory = Sys::Async::Virt::Connection::Factory->new;
my $conn = $factory->create_connection( 'qemu+tls://example.com/system' );
DESCRIPTION
This module connects to a remote LibVirt server through a TLS socket. This transport uses an encrypted TLS connection to libvirt, which is the default when no transport is specified.
This module requires Future::IO::Resolver to operate fully asynchronous; in case this module is unavailable, the getaddrinfo function from Socket is used - which is a blocking function call.
URL PARAMETERS
This connection driver supports these additional parameters, as per LibVirt's documentation.
tls_priorityno_verifypkipath
CONSTRUCTOR
new
Not to be called directly. Instantiated via the connection factory (Sys::Async::Virt::Connection::Factory).
METHODS
connect
await $conn->connect;
is_secure
my $bool = $conn->is_secure;
Returns true.
BUGS AND LIMITAITIONS
Missing support for the
tls_priorityURL query parameterMissing support for the
no_verifyURL query parameterNo verification of the server parameters
No support for https://libvirt.org/kbase/tlscerts.html#multiple-parallel-certificate-identities
SEE ALSO
LICENSE AND COPYRIGHT
Copyright (C) 2024-2026 Erik Huelsmann
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 183:
alternative text 'https://libvirt.org/kbase/tlscerts.html#multiple-parallel-certificate-identities' contains non-escaped | or /