Krishna, 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. --Mehmet On Wednesday, November 28, 2012 8:53:02 AM UTC-5, krishna bhaskara rao wrote: > > Hi, > > I have installed puppet master and puppet agent in two redhat linux > machines. > 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 > response. > ========= > [root@ip-10-244-162-253 files]# ping puppet > PING server.puppet.com (10.203.34.103) 56(84) bytes of data. > 64 bytes from server.puppet.com (10.203.34.103): icmp_seq=1 ttl=61 > time=0.723 ms > 64 bytes from server.puppet.com (10.203.34.103): icmp_seq=2 ttl=61 > time=0.570 ms > 64 bytes from server.puppet.com (10.203.34.103): 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 > --test" > 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.