Wrong hostname in certificate

hidalgo

Well-Known Member
Nov 11, 2016
60
0
46
57
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
 

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!