我正试图在EC2上安装傀儡企业。
傀儡服务器似乎运行良好。
/etc/东道国:
127.0.0.1 puppet傀儡证书
在傀儡代理上:
/etc/东道国:
10.113.148.136 ip-10-113-148-136.ec2.internal ip-10-113-148-136 puppet当我运行“傀儡特工-测试”时
错误:无法请求证书:从主服务器检索的证书与代理的私钥不匹配。要解决此问题,请从主服务器和代理中删除证书,然后启动傀儡运行,这将自动重新生成证书。
关于主人:
puppet cert clean bla1.example.com对代理人:
rm -f /home/ubuntu/.puppet/ssl/certs/bla1.example.com.pem
puppet agent -t当我在主程序上运行这个命令时。我知道错误:
Error: Could not find a serial number for bla1.example.com当我运行“傀儡代理-t”时,我会得到相同的错误消息。
还请注意,在web-ui: bla1.example.com中显示在“无响应”列表中。
当我运行“傀儡代理-服务器傀儡--等待程序30 -测试”时,我会得到同样的错误消息,然后是这样的消息:
Info: Retrieving plugin
Error: /File[/home/ubuntu/.puppet/var/lib]: Failed to generate additional resources using 'eval_generate': SSL_CTX_use_PrivateKey:: key values mismatch
Error: /File[/home/ubuntu/.puppet/var/lib]: Could not evaluate: SSL_CTX_use_PrivateKey:: key values mismatch Could not retrieve file metadata for puppet://puppet/plugins: SSL_CTX_use_PrivateKey:: key values mismatch
Error: Could not retrieve catalog from remote server: SSL_CTX_use_PrivateKey:: key values mismatch
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_CTX_use_PrivateKey:: key values mismatch发布于 2014-03-03 23:17:23
在puppet.conf:server=FQDN中,puppet.conf中的FQDN与/var/lib/puppet/ssl/private_keys/中的傀儡母版中的私钥FQDN匹配吗?我想我遇到了一个类似的问题。
发布于 2014-02-27 15:53:35
# puppet cert sign <node>; puppet cert clean <node>发布于 2020-05-01 00:20:53
无法从远程服务器检索目录: SSL_CTX_use_PrivateKey:键值不匹配
如果您在syslog中看到在更改证书后从傀儡代理间隔运行(或强制使用pkill -SIGUSR1 puppet)运行的这些错误,请尝试停止/启动傀儡代理。代理可能在日志中使用了正确的Certificate fingerprint: ...值,但该错误可能意味着内存中的私钥与新的公共证书不匹配。
https://stackoverflow.com/questions/22072950
复制相似问题