木偶大师没有签署客户证书

时间:2014-06-23 15:17:20

标签: puppet

puppet cert --list不返回任何内容。

puppet master和client上的/etc/hosts文件:

20.201.110.198 client.example.com client
20.201.110.196 puppet.example.com puppet

启动木偶大师时,我得到以下内容,

木偶大师的版本是 2.7.25

#puppet master --no-daemonize --debug --verbose
info: Could not find certificate for 'client.example.com'

启动puppet客户端时,我得到以下内容(Puppet客户端版本也 2.7.25

puppet agent --server puppet --waitforcert 60 --test --debug  --verbose
notice: Did not receive certificate

1 个答案:

答案 0 :(得分:3)

主人在某个时候丢失了你的CSR。从这里开始的最简单方法可能是在代理计算机上生成新密钥和CSR,提交并签名。

在代理上,执行

  1. rm -r /var/lib/puppet/ssl删除过时的证书申请数据
  2. puppet agent --test(输出应表明正在生成新的CSR)
  3. 然后应该可以以常规方式在主服务器上签署证书。

相关问题