puppet opswork aws的木偶代理配置问题

时间:2018-02-09 15:45:32

标签: linux amazon-web-services puppet puppet-enterprise

我使用aws opsworks创建了puppet master。我有一个网址登录,并能够登录。

当我尝试将linux或Windows主机添加到puppet master时,我遇到了问题。 对于linux,我使用了命令

curl -k https://puppet-new-7galokccdlftwt9r.us-east-1.opsworks-cm.io:8140/packages/current/install.bash | sudo bash

尝试发送签名请求

puppet agent -t
Error: Could not request certificate: Error 403 on SERVER: Forbidden request: /puppet-ca/v1/certificate/ca (method :get). Please see the server logs for details.
Exiting; failed to retrieve certificate and waitforcert is disabled

在Windows上

我安装了puppet agent,修改了puppet.conf并试图签署请求。我得到了相同的403禁止错误。 我可以通过ip和fqdn看到机器是可以访问的,端口8140是从代理到主服务器和主服务器到代理打开的。 我可以在代理的ssl文件夹中看到生成的证书,但在主服务器上看不到任何请求。

请提前帮助谢谢。

0 个答案:

没有答案