Why accessing spice console in RHV is failing with the error "Error in server certificate verification: certificate has expired"
Issue
- Accessing the spice console in RHV is failing with the error below:
C:\Program Files (x86)\VirtViewer v7.0-48\bin>(remote-viewer.exe:28924): Spice-WARNING **: 16:08:28.633: ../../../spice-common/common/ssl_verify.c:479:openssl_verify: Error in server certificate verification: certificate has expired (num=10:depth0:/O
- The certificates were manually renewed using How to manually renew RHV host SSL certificate if expired?.
- The spice certificates were also renewed and still the console is not working:
openssl x509 -in etc/pki/vdsm/libvirt-spice/server-cert.pem -noout -dates
notBefore=Sep 1 03:44:12 2022 GMT
notAfter=Oct 5 03:44:12 2023 GMT
Environment
- Red Hat Virtualization 4.4.
- Red Hat Virtualization 4.4 SP1.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.