Puppet: Error while signing the certificates.

0 votes
puppet cert --list 

On executing, this command does not return anything.

While starting puppet master, I get the following,

#puppet master --no-daemonize --debug --verbose
info: Could not find certificate for 'client.example.com'

While starting puppet client, I get the following:

puppet agent --server puppet --waitforcert 60 --test --debug  --verbose
notice: Did not receive certificate

What's wrong?

Aug 29 in Puppet by anonymous
16 views

1 answer to this question.

0 votes

This might be because, the master lost your CSR (Certificate signing request) at some point. The easiest way from here will likely be to generate a new key and CSR on your agent machine, submit and sign that.

On the Puppet agent, do

rm -r /var/lib/puppet/ssl 

This is to get rid of obsolete certificate request data

puppet agent --test 

(output should indicate new CSR being generated)

It should then be possible to sign the certificate on the master in the regular fashion.

answered Aug 29 by Sirajul
• 29,340 points

Related Questions In Puppet

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Error while using newrelic class - Puppet

Hey @Harjot, The catalog compiler will look ...READ MORE

answered Feb 14 in Puppet by Ranjan
30 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
176 views
0 votes
1 answer
0 votes
1 answer

Puppet in Docker: Error while running the Puppet container

Try to uncomment the following lines in the definition ...READ MORE

answered Aug 19 in Puppet by Sirajul
• 29,340 points
17 views