Puppet certificate verify failure due to time

:date: 2012-11-29
:tags: puppet
:category: computing
:author: alf

A couple of weeks ago I had a strange problem while configuring a client to connect to the puppet master. the error was::

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

so what, obviously should be related to a certificate issue; double-checked it, even re-made it although they did match. No help.

Then googled abit, turned-out that it was related to the difference between servers' time. Connected both to an NTP server, and problem magically solved :)