Ubuntu – Puppet: SSL certificate Error

puppetpuppetmasterUbuntu

I did this

sudo puppet agent --test
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

I deleted the ssl directory but nothing help. I read the docs and none seem to work out. Any suggestion where to tackle?

the client is signed on the master.

Thanks.


Is time sync? I checked date and they both seem okay.

openssl x509 -text -in /var/lib/puppet/ssl/certs/...

Weird… I don't have ssl directory?
What should I use to generate? There are too many commands … I just wan to be careful.

This is the log for running sudo puppet master --debug --no-daemonize:
http://pastebin.com/TM3KHmzx

Then on client

admin@client:~$ sudo puppet agent --test
err: Could not retrieve catalog from remote server: Connection refused - connect(2)
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

Here is my fileserver.conf

[blueprint1234]
path /etc/puppet/modules/blueprint1234/files
allow 10.10.0.0/12

Did I put the IP right? The internal IP of the client (it is a VM) is 10.10.0.12
Here is the site.pp

node blueprint1234 {
        include blueprint1234
}

node 'client' inherits blueprint1234 {
}

Thanks

Best Answer

The most common cause for that is that the time of both machines are different by more than a few seconds.