SPICE Certificate Error

j.io

Member
Mar 16, 2021
98
6
13
37
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.
 
I did that, including BEGIN and END CERTIFICATE. Did not work still.
 
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!