小编Spa*_*art的帖子

Puppet 服务器主机名与证书不匹配 - 无法进行身份验证。如何禁用傀儡身份验证?

我在让 puppet 代理对 master 进行身份验证时遇到问题。

在代理上,我首先做了 sudo puppet agent --test

info: Creating a new SSL key for m-agent-2
info: Caching certificate for ca
info: Creating a new SSL certificate request for m-agent-2
info: Certificate Request fingerprint (md5): 43:30:57:53:5B:20:F7:12:CD:94:59:17:12:28:68:A4
Run Code Online (Sandbox Code Playgroud)

然后在主人sudo puppet cert list身上我做了并得到了

"m-agent-2" (43:30:57:53:5B:20:F7:12:CD:94:59:17:12:28:68:A4)
Run Code Online (Sandbox Code Playgroud)

然后我做了sudo puppet cert sign m-agent-2,它返回了

notice: Signed certificate request for m-agent-2
notice: Removing file Puppet::SSL::CertificateRequest m-agent-2 at                 
'/var/lib/puppet/ssl/ca/requests/m-agent-2.pem'
Run Code Online (Sandbox Code Playgroud)

然后我做了sudo puppet agent --test,它返回了

info: Caching certificate for m-agent-2
err: Could not …
Run Code Online (Sandbox Code Playgroud)

ssl authentication puppet puppetmaster

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

authentication ×1

puppet ×1

puppetmaster ×1

ssl ×1