How do you delete the cert on the server? I've tried several approaches, and none of them seem to work.
rm /var/lib/puppet/ssl/ca/signed/centos-6-4.commercialventvac.com.pem failed. puppetca –clean centos-6-4.commercialventvac.com.pem Required that I install puppet-common which I did and that still failed. Thank you Jeff On Thursday, December 20, 2012 7:34:23 AM UTC-8, Mehmet Tecer wrote: > > 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
