Certificate Error on console

informant

Renowned Member
Jan 31, 2012
780
10
83
Hi, we have a ssl certificate error on open a console:

Code:
Error: TLS handshake failed javax.net.ssl.SSLHandshakeException: java.security.CertificateException: certificate does not match

What can we do here?

regards
 
Hi,

this error comes after adding a node. Before it´s works fine. Can you help us please to solve this issue. thanks


regards
 
We have found a solution.

The command
Code:
pvecm updatecerts
does not work for this error.

we must use
Code:
pvecm updatecerts --force
.

After this the issue is solved.

regards
 
I have a Certifikate from SARTssl

# pvecm updatecerts --force
Code:
Signature ok
subject=/OU=PVE Cluster Node/O=Proxmox Virtual Environment/CN=x***.s*********r.eu
Getting CA Private Key
CA certificate and CA private key do not match
204732:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:406:
unable to generate pve ssl certificate:
command 'openssl x509 -req -in /tmp/pvecertreq-204730.tmp -days 3650 -out /etc/pve/nodes/x706/pve-ssl.pem -CAkey /etc/pve/priv/pve-root-ca.key -CA /etc/pve/pve-root-ca.pem -CAserial /etc/pve/priv/pve-root-ca.srl -extfile /tmp/pvesslconf-204730.tmp' failed: exit code 1
 

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!