Question about encryption and tls

Kamil Jońca
Fri, 29 Sep 2023 11:04:42 -0000

Martin Kletzander <mkletzan at redhat.com>
writes:

>
> <graphics type='spice' tlsPort='-1'/>
>
> and then some, check the following for more details:
>
> https://libvirt.org/formatdomain.html#graphical-framebuffers
>
>>KJ
>>

Well, I think I configured it, but there is another problem:
I am able to connect with remote viewer (when vm is running):
--8<---------------cut here---------------start------------->8---
remote-viewer --spice-ca-file=/home/kjonca/.config/libvirt/ssl/cacert.pem
'spice://bambus.kjonca?tls-port=5900'
--8<---------------cut here---------------end--------------->8---
but I am not able to connect with virt-manager. Got message:

--8<---------------cut here---------------start------------->8---
Viewer was disconnected.
Encountered SPICE error-tls
--8<---------------cut here---------------end--------------->8---

KJ