Certificate Error after Changing Hostname

alasdairc

New Member
Jun 25, 2021
25
0
1
24
Hi there,

I have changed the hostname of my node and am experiencing an issue with the SSL certificate after the change, I am getting the error:

Jun 26 13:51:39 prmx0 pveproxy[1767]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1891

I changed /etc/hosts, /etc/hostname and /etc/postfix/main.cf and copied the VM data to the new directory as required and have rebooted - I am now getting the above error. I tried to follow this guide as best as I could:
https://forum.proxmox.com/threads/proxmox-node-name-change.14327/

How can I alter the SSL certificates now?

Thank you
 
Last edited:

alasdairc

New Member
Jun 25, 2021
25
0
1
24
/etc/pve/nodes now appears to be missing...

There is nothing in /etc/pve - have I screwed up?

Maybe time to test backup integrity...
 

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 your own in 60 seconds.

Buy now!