Ask Your Question
0

err: Could not request certificate: Retrieved certificate does not match private key

asked 2016-03-30 05:31:37 -0500

loureiro gravatar image

updated 2016-03-30 11:07:49 -0500

Hi,

I'm getting the below error when running "puppet agent --test" after locking down a node, in order to test changes from my local puppetmaster (I SSH'd from my Puppetmaster, binding the 8140 port).

root@node1 ~]# puppet agent --test err: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key Exiting; failed to retrieve certificate and waitforcert is disabled

Any insight on why this is happening?

Regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-30 14:26:08 -0500

Does 'puppet cert list --all' on the puppet master show a cert for that hostname already?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-30 05:26:00 -0500

Seen: 155 times

Last updated: Mar 30 '16