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

蹲街弑〆低调 提交于 2019-12-11 07:17:27

问题


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


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/48100979/error-could-not-find-csr-for-domain-when-using-puppet-cert-sign

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!