Reception123
Reception123

Reputation: 83

Error: Could not find CSR for: domain when using puppet cert sign

I'm trying to sign my node (for a puppetmaster) only whatever I do I'm getting the error below:

Error: Could not find CSR for: [domain name]

The node is indeed listed under puppet cert list —all

Upvotes: 1

Views: 7060

Answers (2)

Shivank Rana
Shivank Rana

Reputation: 1

Even I faced same problem, but resolved by giving complete hostname. Run this first :-
puppet cert list
output :-
"hostname.domainname.com" (SHA256) 2D:A2:4F...B6:9C
After that get the hostname from above output, and give it below :-
puppet cert sign hostname.domainname.com

Upvotes: 0

Riley
Riley

Reputation: 36

You may need to remove the cert from the puppet directory(generally located in /etc/puppetlabs/puppet/ssl) and re-issue it.

From my experiences, this always works. The Puppet documentation covers this rather well.

Upvotes: 2

Related Questions