我的主人puppet.conf
[master]
certname = myname.mydomain.com
ca_server = myname.mydomain.com
certdnsnames = puppet;puppet.local;myname.dyndns.org;hivemind.local;
就我对certdnsnames定义的理解而言,以下应该起作用:
puppet agent --server myname.dyndns.org --test
但我得到以下错误:
err: Could not retrieve catalog from remote server: hostname was not match with the server certificate
如何避免这个错误?如何正确定义certdnsnames?我发现与此有关的文档不尽相同,但没有简单的示例。ii使用“,”进行分隔,我根本无法签名。我也看到过这样的语法
certdnsnames = puppet:puppet.intra.myserver.fr,puppet.myserver.fr:puppet,puppet:puppet,puppet.intra.myserver.fr,puppet.myserver.fr
http://projects.puppetlabs.com/issues/5776
但对我来说,尚不清楚何时添加“人偶:”,何时不添加。