Puppet Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key.

Topic Tools

While configuring the new Puppet agent, sometimes its throwing error like below

First try with the options provided by Puppet …

But, If that’s not working then check if there is any difference in certificate of PuppetMaster and Master’s certificate provided to agent

On Puppet Master

On Agent go to /etc/puppet/ssl and update the ca.pem like below

Then check :

Even after fixing that also, if you are getting “no certificate found error” then check the hosts entry and update it correctly to correct puppet server in /etc/hosts

Once done, check the puppet agent and this time you will get the success.

Happy Learning …

1 comment… add one

  • Pallav Chouhan

    Very useful information. Thanks for Sharing.

Leave a Comment