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
• 19,620 points
2,985 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
• 59,090 points

Related Questions In Puppet

+1 vote
2 answers
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
• 59,090 points
655 views
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
• 59,090 points
448 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,326 views
+2 votes
1 answer
0 votes
2 answers

puppetserver ca list Command Error - Centos 7

You could troubleshoot it this way: Verify that ...READ MORE

answered Feb 25, 2020 in Puppet by anonymous
• 19,620 points
1,704 views