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, 2019 in Puppet by Karan
• 8,200 points
295 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, 2019 by Sirajul
• 45,960 points

Related Questions In Puppet

0 votes
1 answer
0 votes
1 answer

Puppet: Error on executing "systemctl enable puppetserver" command

You need root user privileges to execute ...READ MORE

answered Sep 17, 2019 in Puppet by Sirajul
• 45,960 points
52 views
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, 2019 in Puppet by Sirajul
• 45,960 points
71 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, 2019 in Puppet by Sirajul
• 45,960 points
52 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
305 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, 2019 in Puppet by Sirajul
• 45,960 points
61 views