Unverified Commit 42ef521a authored by Fernando Verdugo's avatar Fernando Verdugo Committed by GitHub
Browse files

Update spice_tls.rst

parent 74f352c1
......@@ -141,10 +141,12 @@ From command line
With self-signed certificates, it's necessary pass to the client the certificate of the authority which signed the host certificate.
::
remote-viewer --spice-ca-file=/etc/pki/libvirt-spice/ca-cert.pem spice://<ravada_servername>?tls-port=5902
SUBJECT=`openssl x509 -noout -text -in /etc/pki/libvirt-spice/server-cert.pem | grep Subject: | cut -f 10- -d " "`
remote-viewer --spice-ca-file=/etc/pki/libvirt-spice/ca-cert.pem spice://172.17.0.1?tls-port=5902 "--spice-host-subject=$SUBJECT"
.. note::
If you connect directly to IP address the following error occurs: ``ssl: hostname '171.17.0.1' verification failed``
Configuration in .vv file
-------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment