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
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
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.
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