简体   繁体   English

错误:使用p证书符号时找不到域的CSR

[英]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: 我正在尝试仅对我的节点(对于puppetmaster)签名,但出现以下错误:

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. 您可能需要从puppet目录(通常位于/etc/puppetlabs/puppet/ssl )中删除证书,然后重新发出。

From my experiences, this always works. 根据我的经验,这始终有效。 The Puppet documentation covers this rather well. Puppet文档对此进行了很好的介绍。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM