我在网上搜索,发现其他人在其他列表/板上也遇到此问题。当我在主服务器上签署证书后第二次运行sudo puppetd --waitforcert 60 --test时,出现此错误-
notice: Got signed certificate
warning: Certificate validation failed; considering using the certname configuration option
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: Certificates were not trusted: hostname was not match with the server certificate
我不确定我了解什么问题或如何解决。这就是为什么我问。
我正在局域网中的两台服务器上设置人偶。puppetmaster名为“ puppet”,另一台服务器名为“ puppetclient”。我将puppet放在puppetclient的/ etc / hosts中。
运行hostname -f将在相应服务器上显示puppet和pupperclient。我不确定还有什么尝试。有人有见识吗?