puppetserver ca命令无法连接到https://puppet:8140 使用SRV记录解决方案时
我在我的木偶架构中使用SRV解决方案。尝试设置新的puppet master和CA并查看我的证书时,我遇到以下错误:puppetserver ca命令无法连接到https://puppet:8140 使用SRV记录解决方案时,puppet,ca,srv,Puppet,Ca,Srv,我在我的木偶架构中使用SRV解决方案。尝试设置新的puppet master和CA并查看我的证书时,我遇到以下错误: puppetserver ca list --all Fatal error when running action 'list' Error: Failed connecting to https://puppet:8140/puppet-ca/v1/certificate_statuses/any_key Root cause: Failed to open TCP
puppetserver ca list --all
Fatal error when running action 'list'
Error: Failed connecting to https://puppet:8140/puppet-ca/v1/certificate_statuses/any_key
Root cause: Failed to open TCP connection to puppet:8140 (getaddrinfo: No address associated with hostname)
My puppet.conf文件具有以下配置:
use_srv_records = true
srv_domain = mypuppetrecord.com
我遗漏了什么?我在这里找到了解决方案。我需要在我的
/etc/hosts
文件中添加以下内容:
xxx.xx.xx.xx(主机IP)傀儡