SPICE Certificate Error

j.io

Member
Mar 16, 2021
98
7
13
38
Hi,

I would like to connect via SPICE to a VM on Proxmox. I am using MacOS with "RemoteViewer". Downloading the .vv file and opening it gives me the following error:

(RemoteViewer-bin:17874): GSpice-WARNING **: loading ca certs from /Users/XXX/.spicec/spice_truststore.pem failed

I am using the Proxmox standard certificate (Proxmox is running in LAN only). Can I somehow disable certificate checks for remote-viewer? Or do I have to place the Proxmox certificates (see screenshot) somewhere?

BTW - the file is not existing (which is why it fails to read it) - what do I have to put into that file?

1691520303038.png
 
Last edited:
If I understand correctly (I have no experience with RemoteViewer) then it should be sufficient to create the file spice_truststore.pem and insert the contents of /etc/pve/pve-root-ca.pem there.
 
Maybe there is still some formatting / permission error since the log says it cannot load the file? You can apparently also specify it via the CLI option --spice-ca-file=
 
Maybe there is still some formatting / permission error since the log says it cannot load the file? You can apparently also specify it via the CLI option --spice-ca-file=
No, it can definitely load it. If I give a wrong path, I get another error.