Why RHV VM is failing to start with the error "Failed to start VNC server: Cannot load certificate"

Solution Verified - Updated -

Issue

  • A virtual machine in RHV is failing to start with the error below.
2021-11-29 10:18:45,544+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-2) [] EVENT_ID: VM_DOWN_ERROR(119), VM down with error. Exit message: internal error: qemu unexpectedly closed the monitor: 2021-11-29T09:18:44.638216Z qemu-kvm: warning: All CPU(s) up to maxcpus should be described in NUMA config, ability to start up with partial NUMA mappings is obsoleted and will be removed in future

2021-11-29T09:18:44.663109Z qemu-kvm: -vnc 10.X.X.X:X,password,tls,x509=/etc/pki/vdsm/libvirt-vnc: Failed to start VNC server: Cannot load certificate '/etc/pki/vdsm/libvirt-vnc/server-cert.pem' & key '/etc/pki/vdsm/libvirt-vnc/server-key.pem': The certificate and the given key do not match

Environment

  • Red Hat Virtualization 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content