Hi,

are you quite certain you moved those .pem files to the correct
location? Apparently, the agent won't pick them up.

Look at the config very carefully, and find out where the new key has
been generated. The agent should not just overwrite the key you had
imported.

HTH,
Felix

On 01/28/2014 03:36 PM, krishna bhaskara rao wrote:
> I have generated SSL certificate in puppet master with domain "test.com"
> and then moved to below files to puppet agent SSL directory.
>                         certs/test.com.pem, 
>                         private_keys/test.com.pem, 
>                         public_keys/test.com.pem and certs/ca.pem. 
> 
> Then I am trying to issue *puppet agent -t --debug* in agent, getting an
> error.
>             Info: *Creating a new SSL key for test.com*
>             Info: Caching certificate for ca
>             Info: Caching certificate for test.com
>             Error: Could not request certificate: The certificate
> retrieved from the master does not match the agent's private key.
> 
> Please suggest me How to resolve this issue, Shall I need to disable
> regeneration of key, if yes how to disable.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/52F4EA82.4050607%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to