vnc console change certificate

mir

Famous Member
Apr 14, 2012
3,568
127
133
Copenhagen, Denmark
Hi all,

Has someone been able to change the default certificate on proxmox and at the same time have the vnc console working?
Getting apache to work is easy but no matter what I do I cannot make the vnc console working with another certificate than the one provide by default from the proxmox installation.
 
The error message from Java:
Initializing...
Connecting to pve.datanom.net, port 5900...
Connected to server
RFB server supports protocol version 3.8
Using RFB protocol version 3.8
VeNCrypt chooser
X509Plain
Generating TLS context
Doing TLS handshake
Error: TLS handshake failed javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: certificate does not match
java.lang.Exception: TLS handshake failed javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: certificate does not match
at com.tigervnc.vncviewer.TLSTunnelBase.setup(TLSTunnelBase.java:73)
at com.tigervnc.vncviewer.RfbProto.authenticateX509(RfbProto.java:416)
at com.tigervnc.vncviewer.VncViewer.doAuthentification(VncViewer.java:445)
at com.tigervnc.vncviewer.VncViewer.doAuthentification(VncViewer.java:406)
at com.tigervnc.vncviewer.VncViewer.connectAndAuthenticate(VncViewer.java:385)
at com.tigervnc.vncviewer.VncViewer.run(VncViewer.java:202)
at java.lang.Thread.run(Thread.java:662)
RFB socket closed
 

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!