Here is how I quickly resolve this issue.

1- Stop puppet on client.

2- Delete the cert on the server

3- Delete /var/lib/puppet directory on client.

4- Start puppet on client.

This should take care of your cert issue.

On Wednesday, November 28, 2012 8:53:02 AM UTC-5, krishna bhaskara rao

I have installed puppet master and puppet agent in two redhat linux
After that, I have updated server details in agent machine /etc/hosts file.
While executing the ping servername in agent machine, I am getting below
[root@ip-10-244-162-253 files]# ping puppet
PING server.puppet.com ( 56(84) bytes of data.
64 bytes from server.puppet.com ( icmp_seq=1 ttl=61
time=0.723 ms
64 bytes from server.puppet.com ( icmp_seq=2 ttl=61
time=0.570 ms
64 bytes from server.puppet.com ( icmp_seq=3 ttl=61
time=0.617 ms
Then While executing one of the below commands
"puppetd --test" or "puppetd --server puppet --waitforcert 60 --verbose
I am getting an error message like below

*err: Could not request certificate: Retrieved certificate does not match
private key; please remove certificate from server and regenerate it with
the current key*

I tried after cleaning certificates in both the machines by using
"puppetca --clean --all" also, same error I am getting.

Can any one provide a way to come out of this issue.

With Regards,
Krishna Bhaskara Rao.
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/918XOlLVMLMJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 6 | next ›
Discussion Overview
grouppuppet-users @
postedNov 28, '12 at 2:49p
activeSep 21, '13 at 12:53a



site design / logo © 2022 Grokbase