migrating puppet clients to a new puppet master (old puppet master server gone, only using backup)
- by user47650
My puppet master server had a hardware failure, and I have restored to another box. However this box has different hardware and hostname.
If I restore the existing /etc/puppet directory to the new server, the puppetmaster will not start with the following error;
# puppetmasterd --debug --verbose
Could not prepare for execution: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key
So what steps do I need to take to allow the new puppetmaster to start, and to generate a new puppetmaster certificate using the old ca..
Also will the puppet clients actually report in to a different puppet server using a server certificate that has been generated with the old CA?