What version of Puppet?  The puppetca command is pretty old.

-Jeff

On Thu, Nov 15, 2012 at 3:17 AM, Pradeep Chhetri
<pradeep.chhetr...@gmail.com> wrote:
> I removed from client only before. Still getting the same error.
>
>
> On Thu, Nov 15, 2012 at 1:19 PM, Nikola Petrov <nikol...@gmail.com> wrote:
>>
>> On Wed, Nov 14, 2012 at 11:28:54PM -0800, Pradeep Chhetri wrote:
>> > Hello Everyone
>> >
>> > I was getting the error which running
>> >
>> > $ sudo puppet agent -t
>> >
>> > err: Could not request certificate: Retrieved certificate does not match
>> > private key; please remove certificate from server and regenerate it
>> > with
>> > the current key
>> >
>> > To solve this, I first removed the certs from the puppet server for this
>> > host using
>> >
>> > $  sudo puppetca --clean <hostname>
>> >
>> > And then removed the content inside directory /var/lib/puppet/ssl on the
>> > client.
>> >
>> > Still it is giving me the same error. Can somebody help me solving this.
>>
>> Can you please try to cleanup the ssl certificate on the client too. You
>> can just move the ssl directory(in case you want to revert it). It is in
>> the same location /var/lib/puppet/ssl
>>
>> --
>> Nikola
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> 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.
>>
>
>
>
> --
> Pradeep Chhetri
>
> In the world of Linux, who needs Windows and Gates...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> 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.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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.

Reply via email to