首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PuppetDB:无法获得本地颁发者证书

PuppetDB:无法获得本地颁发者证书
EN

Server Fault用户
提问于 2014-12-26 17:46:51
回答 1查看 3.4K关注 0票数 5

我试着用傀儡戴上,但我遇到了一些问题。

我有一个名为puppet的节点。它是主人,也是我安装木偶的地方。它也是木偶管理的一个节点。

当我在傀儡节点上运行puppet -t时,我得到:

代码语言:javascript
复制
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 400 on SERVER: Could not retrieve facts for puppet.example.com: 
Failed to submit 'replace facts' command for puppet.example.com to PuppetDB at
puppet:8081: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
B: certificate verify failed: [unable to get local issuer certificate for
/CN=puppet.example.com]

我假设有些东西是错误的,但是我不知道该更改什么或者在哪里查找。

EN

回答 1

Server Fault用户

发布于 2017-01-22 09:35:53

看起来PuppetDB (主服务器)上的主机名有问题。确保hostname -f从运行puppet agent的所有节点输出可解析的地址。

从错误日志来看,主机名似乎只是puppet

代码语言:javascript
复制
Failed to submit 'replace facts' command for puppet.example.com to PuppetDB at
puppet:8081

然后移动旧证书

  • 对于PuppetDB 2.x: mv /etc/傀儡/傀儡-f /ssl//etc/傀儡/傀儡-f/ssl-旧傀儡数据库-ssl-安装-f
  • 对于PuppetDB 3.x及更高版本: mv /etc/puppetlabs/ssl/etc/ puppetdb /puppetdb/ssl-旧傀儡数据库ssl-安装-f

最后,重新启动服务:

代码语言:javascript
复制
service puppetdb restart
票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/654877

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档