certificate verification failed

816 views
Skip to first unread message

Sans

unread,
May 5, 2012, 12:53:11 PM5/5/12
to puppet...@googlegroups.com
Dear all,

I just moved my puppet-server [puppetmaster] from one machine to another machine and regenerated the certificate(s) for the agent but since then I'm getting these error on the client: 

 

[root@farm021 puppet]# puppetd -t
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: certificate verify failed.  This is often because the time is out of sync on the server or client
err: /File[/var/lib/puppet/lib]: Could not evaluate: certificate verify failed.  This is often because the time is out of sync on the server or client Could not retrieve file metadata for puppet://puppet.xxx.xxx.xxx.ac.uk/plugins: certificate verify failed.  This is often because the time is out of sync on the server or client
info: Loading facts in dmide_code
[ .... ]
info: Loading facts in num_core
err: Could not retrieve catalog from remote server: certificate verify failed.  This is often because the time is out of sync on the server or client
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: certificate verify failed.  This is often because the time is out of sync on the server or client

 

I already checked the date/time on the master and agent and they are synced. Does anyone know what might be the problem here?

Cheers,
San

iceberg

unread,
May 5, 2012, 12:55:10 PM5/5/12
to puppet...@googlegroups.com
Did you try nuking the certs completely?  
Message has been deleted

Sans

unread,
May 5, 2012, 1:22:47 PM5/5/12
to puppet...@googlegroups.com
What exactly the procedure is? On the agent, I did this:

# rm -f /var/lib/puppet/ssl/certs/*
# puppet certificate generate farm021 --ca-location remote

and on the server:

# puppetca clean --all
# /etc/init.d/puppetmaster start


Is that what you meant? Cheers!!

iceberg

unread,
May 7, 2012, 12:42:57 PM5/7/12
to puppet...@googlegroups.com
Yes, but nuke the certs on the master too - delete the /var/lib/puppet/ssl/certs/*.  You want everything regenerated.

Sans

unread,
May 8, 2012, 6:08:52 AM5/8/12
to puppet...@googlegroups.com
Thanks! That part is working now. cheers!!
Reply all
Reply to author
Forward
0 new messages