puppet 启动失败

puppetmaster 启动失败

Could not prepare for execution: The certificate retrieved from the master does not match the agent's private key.
Certificate fingerprint: 7D:99:EE:15:12:0F:AF:4D:95:E5:23:15:E7:A9:F7:2F
To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate.
On the master:
  puppet cert clean xxxx
On the agent:
  rm -f /var/lib/puppet/ssl/certs/xxxx.pem
  puppet agent -t
                                                           [FAILED]

貌似

puppet cert clean xxxx 删除不了证书

 

再 /var/lib/puppet/ssl/certs/

下删除.pem文件, 重启就好了

 

 

 

 

可是其他的问题来了, 客户端怎么请求没有用

什么可能是 时间同步的问题, 各种试啊, 都没有成功, 可能是对 证书啊, ca, 认证, 签名不理解, 对puppet整个架构理解不够,

 

在两台 xen节点上运行成功了

centos 6.4

-------------------------------------

[root@node21 init.d]# puppetca --list
  "node22.km.hm" (29:B6:5A:95:08:1A:07:51:F1:69:4C:74:64:48:A5:A8)

还是先试着用puppet 慢慢加深理解吧

转载于:https://www.cnblogs.com/kwingmei/p/3775836.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值