123
Remove following files, those are related to HTTPS Certificates.
rm /etc/pve/pve-root-ca.pem
rm /etc/pve/priv/pve-root-ca.key
rm /etc/pve/nodes/pmx01/pve-ssl.pem
rm /etc/pve/nodes/pmx02/pve-ssl.pem
rm /etc/pve/nodes/pmx03/pve-ssl.pem
rm /etc/pve/nodes/pmx01/pve-ssl.key
rm /etc/pve/nodes/pmx02/pve-ssl.key
rm /etc/pve/nodes/pmx03/pve-ssl.key
rm /etc/pve/authkey.pub
rm /etc/pve/priv/authkey.key
rm /etc/pve/priv/authorized_keys
Then, regenerate it
pvecm updatecerts -f
Restart two services
systemctl restart pvedaemon pveproxy
Then clear SSH know hosts record as follow.
mv /root/.ssh/known_hosts /root/.ssh/known_hosts_old
This is now reboot the node one by one, and test it.
Refer – https://codingpackets.com/blog/proxmox-certificate-error-fix-after-node-replacement/