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, 2019 in Puppet by anonymous
51 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, 2019 by Sirajul
• 50,320 points

Related Questions In Puppet

0 votes
1 answer

Error while enabling the official puppet lab collection repository

Hey @Alia, try executing these commands and ...READ MORE

answered Feb 25, 2019 in Puppet by Nandita
45 views
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, 2019 in Puppet by Ranjan
55 views
0 votes
1 answer

Error saying "Error: Could not autoload puppet/provider/package/rpm: No child processes." While installing gcc through puppet

Hey @Laksha, check your internet connectivity. You usually ...READ MORE

answered Feb 15, 2019 in Puppet by Jugnu
116 views
+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,400 points
412 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, 2019 in Puppet by Sirajul
• 50,320 points
48 views
0 votes
1 answer