I hope someone here can point me in the right direction. I've been struggling with this for a few days and I can't seem to figure out what the issue is. It's really strange. I have a vagrant configuration that spins up a puppetmaster and a target machine that runs the agent. When I initially do the 'vagrant up' all comes up and the agent is configured. If I halt the puppetmaster and bring it back up, the agent fails to connect to the puppetmaster due to a certificate error. If I simply restart the puppetmaster service, it connects without issue.
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA:
puppetmaster.domain.com]
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA:
puppetmaster.domain.com]
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://
puppetmaster.domain.com/plugins: SSL_connect returned =1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [se lf signed certificate in certificate chain for /CN=Puppet CA:
puppetmaster.domain.com]
Wrapped exception:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA:
puppetmaster.domain.com]
Info: Loading facts
Error: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA:
puppetmaster.domain.com]
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA:
puppetmaster.domain.com]
The puppetmaster is just running the webrick, since I have a single target there isn't any need for me to set up anything more elaborate. I'm struggling with this and could really use some help.