Puppet: Error when running "sudo /opt/puppetlabs/bin/puppetserver ca list --all" command

0 votes

On running puppetserver ca list command on the ubuntu puppet master, I get the following error:

Fatal error when running action 'list'
Error: Could not find 'hostcert' at '/etc/puppetlabs/puppet/ssl/certs/Puppet.localdomain.pem's

How do I resolve this?

Sep 18 in Puppet by Karan
• 6,670 points
176 views

1 answer to this question.

0 votes

This might possibly be because of mismatch in the naming convention, recheck it.

If not you should try regenerating the certificates by deleting the existing ones. 

Refer to puppet docs as to how you could do that:  https://puppet.com/docs/puppet/latest/ssl_regenerate_certificates.html#concept-4386

answered Sep 18 by Sirajul
• 41,000 points

Related Questions In Puppet

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

Error: Puppet not found, when trying to run puppet config command.

This is because you have not added ...READ MORE

answered Sep 18 in Puppet by Sirajul
• 41,000 points
54 views
0 votes
1 answer

Does puppet help when all my servers are one of a kind?

Indeed, Puppet can help. All servers are in ...READ MORE

answered Jul 30 in Puppet by Sirajul
• 41,000 points
44 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,380 points
261 views
0 votes
1 answer
0 votes
1 answer

Puppet: error on running sudo puppet agent -t

The puppetmaster process is the one attempting ...READ MORE

answered Aug 6 in Puppet by Sirajul
• 41,000 points
41 views