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
• 9,500 points
476 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
• 50,320 points

Related Questions In Puppet

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
• 50,320 points
90 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
• 50,320 points
90 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
• 50,320 points
90 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
2 answers

puppetserver ca list Command Error - Centos 7

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

answered Feb 25 in Puppet by anonymous
• 9,500 points
55 views