[SOLVED] Fresh VM do not start (pve certificate error)

grobs

Active Member
Apr 1, 2016
56
0
26
37
France
Hi,

I created a new virtual machine (myvm1.mydomain.com) on a new physical proxmox 4 host (myhost.mydomain.com).
As I have a wildcard certificate for my domain (*.mydomain.com), I replaced /etc/pve/local/pve-ssl.pem with my wildcard certificate.

I then tried to start a VM and got this error message:

Code:
Running as unit 200.scope.
kvm: -vnc unix:/var/run/qemu-server/200.vnc,x509,password: Failed to start VNC server: Our own certificate /etc/pve/local/pve-ssl.pem failed validation against /etc/pve/pve-root-ca.pem: The certificate hasn't got a known issuer

Then I appended the complete ca chain to /etc/pve/pve-root-ca.pem
But now I get this message :

Code:
Running as unit 200.scope.
kvm: -vnc unix:/var/run/qemu-server/200.vnc,x509,password: Failed to start VNC server: The certificate /etc/pve/pve-root-ca.pem basic constraints do not show a CA

As a workaround, I ran "pvecm updatecerts -f" which regenerated /etc/pve/local/pve-ssl.pem and /etc/pve/local/pve-ssl.key but I'm currently stuck on using a self signed certificate whereas I own a real wildcard certificate.

What did I miss?

Thanks for reading (and for further replies) :)
 
15min response, this is called super rapid power :)
Thank you t.lamprecht, that's the info I was missing.
 
Last edited:

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!