Displaying 3 results from an estimated 3 matches for "virnettlscontext".
2023 May 03
1
Using pki/ssl/tls connection.
...instead of current ssh.
I found
https://libvirt.org/kbase/tlscerts.html and I want to know if it is
possible to customise some setting (e.g. use my own cert names, or
locations)
but I was not able to.
Moreover
https://github.com/libvirt/libvirt/blob/44520f6e01580d6bada88b47e5b77e6bee023ac6/src/rpc/virnettlscontext.c
suggests that these values are hardcoded.
So my questions are: is it possible to customise these values? If so,
how? How can I configure virt-manager with two connections, each with
different CA?
KJ
--
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
2014 Nov 19
2
Connecting libvirt remotely using tls: TLS handshake failed : packet with unexpected length +gnutls_handhsake Error
...trying to connect remote libvirt)
virsh -c xen+tls://destinationipaddr/system
error: failed to connect to the hypervisor
error: authentication failed: TLS handshake failed A TLS packet with
unexpected length was received.
In source code i found the error line. the return value is 21
./src/rpc/virnettlscontext.c: ret = gnutls_handshake(sess->session);
*Below are log details*
*client(Initiator of ssl connection ) :*
virNetTLSSessionHandshake:1351 : Ret=-21
error: authentication failed: TLS handshake failed A TLS packet with
unexpected length was received.
*In the server side,
*
virNetTLSSession...
2014 Nov 19
0
Re: Connecting libvirt remotely using tls: TLS handshake failed : packet with unexpected length +gnutls_handhsake Error
...virsh -c xen+tls://destinationipaddr/system
>
> error: failed to connect to the hypervisor
> error: authentication failed: TLS handshake failed A TLS packet with unexpected length was received.
>
>
> In source code i found the error line. the return value is 21
>
> ./src/rpc/virnettlscontext.c: ret = gnutls_handshake(sess->session);
>
>
> *Below are log details*
>
> *client(Initiator of ssl connection ) :*
>
> virNetTLSSessionHandshake:1351 : Ret=-21
>
> error: authentication failed: TLS handshake failed A TLS packet with
> unexpected length was receive...