Wrong hostname in certificate

hidalgo

Renowned Member
Nov 11, 2016
60
0
71
58
I'm running a 3 node cluster (Proxmox 4.4) with a cluster network. Now I realized that I entered wrong DNS name on 1 of the nodes. How can I change this without destroying the cluster or reinstalling this node? The certificates are created by PVE.
 
Hi,
you can edit the DNS on the GUI on node level for each node.
Node->System->DNS
 
Hi,
you can edit the DNS on the GUI on node level for each node.
Node->System->DNS
Thanks. Yes, I know, but the wrong hostname is still in the certificate. When I want to connect the Web-GUI I'm asked if I want trust the certificate for the wrong hostname.
Hostname in certificate: node3.mydomain.com
Real hostname: node3.sub.mydomain.com
Thanks for further advice
 
and you can regenerate the self-signed certificate of a node by running "pvecm updatecerts -f" on it.
 
and you can regenerate the self-signed certificate of a node by running "pvecm updatecerts -f" on it.
I did this, but it seems, that's not enough. While connecting the web GUI still asking to trust the wrong certificate. Do I have to restart a service or reboot the node?

Bildschirmfoto 2017-01-19 um 08.57.48.png
 
Last edited:
yes, you need to restart the pveproxy service