异常消息如下:
---
Error: /Filevar/lib/puppet/lib: Could not evaluate: Could not retrieve file metadata for puppet://cat.test.com/plugins: Server hostname 'cat.test.com' did not match server certificate; expected one of cat.test.com.cn, DNS:puppet, DNS:puppet.test.com.cn, DNS:cat.test.com.cn
Wrapped exception:
Server hostname 'cat.test.com' did not match server certificate; expected one of cat.test.com.cn, DNS:puppet, DNS:puppet.test.com.cn, DNS:cat.test.com.cn
Debug: Finishing transaction 69830609537000
---
When the master starts for the 1st time, it generates its own CA certificate and private key, initializes the CRL and generates a special certificate which I will call the server certificate. This certificate will be the one used in the SSL/TLS communication as the server certificate that is later sent to the client. This certificate subject will be the current master FQDN.