Puppet – Puppet Client Not Connecting to Master SSL Connect Error

linuxpuppetpuppetmasterssl-certificate

I installed the puppet master and agent on the same machine. When the client is started, I got the following error message.

puppet agent --server=agent.com --no-daemonize --debug



err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.  This is often because the time is out of sync on the server or client

Best Answer

Try making an entry in /etc/hosts

127.0.0.1 localhost.localdomain localhost puppet

remove the --server argument to the puppet agent command.