Hello,
I have been following the instructions at https://pve.proxmox.com/wiki/Certificate_Management on a 5 node Proxmox cluster. Let's encrypt (using ACME) was used on the first node, PVE1, with great success. Accessing the server shows a valid certificate. Accessing VMs on PVE1 via noVNC and SPICE work.
If I access a VM hosted on one of the other servers (PVE2, PVE3, PVE4, PVE5), noVNC works. Unfortunately, SPICE (via remote-viewer) does not (it used to previously, with the default self-signed certs). The error that now appears in the console is:
(remote-viewer:6410): Spice-WARNING **: 00:19:17.047: ssl_verify.c:479penssl_verify: Error in server certificate verification: unable to get local issuer certificate (num=20:depth0:/OU=PVE Cluster Node/O=Proxmox Virtual Environment/CN=pve2.xxxx.local)
(remote-viewer:6410): GSpice-WARNING **: 00:19:17.048: main-1:0: SSL_connect: error:00000001:lib(0):func(0):reason(1)
As the error suggests, I think this is because nodes PVE2-PVE5 do not have the Let's Encrypt certificates.
I am a little unclear on what to copy from PVE1 to PVE2-PVE5 to fix the certificate issue to get SPICE working again.
https://pve.proxmox.com/wiki/Certificate_Management mentions "For options 2 and 3 the file /etc/pve/local/pveproxy-ssl.pem (and /etc/pve/local/pveproxy-ssl.key, which needs to be without password) is used."
Does this mean I must copy, from PVE1, /etc/pve/local/pveproxy-ssl.pem and /etc/pve/local/pveproxy-ssl.key to the same location (/etc/pve/local) on each of PVE2-PVE5 to install the Let's encrypt certs across the cluster?
Thank you!
I have been following the instructions at https://pve.proxmox.com/wiki/Certificate_Management on a 5 node Proxmox cluster. Let's encrypt (using ACME) was used on the first node, PVE1, with great success. Accessing the server shows a valid certificate. Accessing VMs on PVE1 via noVNC and SPICE work.
If I access a VM hosted on one of the other servers (PVE2, PVE3, PVE4, PVE5), noVNC works. Unfortunately, SPICE (via remote-viewer) does not (it used to previously, with the default self-signed certs). The error that now appears in the console is:
(remote-viewer:6410): Spice-WARNING **: 00:19:17.047: ssl_verify.c:479penssl_verify: Error in server certificate verification: unable to get local issuer certificate (num=20:depth0:/OU=PVE Cluster Node/O=Proxmox Virtual Environment/CN=pve2.xxxx.local)
(remote-viewer:6410): GSpice-WARNING **: 00:19:17.048: main-1:0: SSL_connect: error:00000001:lib(0):func(0):reason(1)
As the error suggests, I think this is because nodes PVE2-PVE5 do not have the Let's Encrypt certificates.
I am a little unclear on what to copy from PVE1 to PVE2-PVE5 to fix the certificate issue to get SPICE working again.
https://pve.proxmox.com/wiki/Certificate_Management mentions "For options 2 and 3 the file /etc/pve/local/pveproxy-ssl.pem (and /etc/pve/local/pveproxy-ssl.key, which needs to be without password) is used."
Does this mean I must copy, from PVE1, /etc/pve/local/pveproxy-ssl.pem and /etc/pve/local/pveproxy-ssl.key to the same location (/etc/pve/local) on each of PVE2-PVE5 to install the Let's encrypt certs across the cluster?
Thank you!