info: Caching certificate for dev-8.company.comerr: 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 clientwarning: Not using cache on failed catalogerr: Could not retrieve catalog; skipping runerr: Could not send report: 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
root@puppet-1:/etc/puppet# cat /etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=11.10DISTRIB_CODENAME=oneiricDISTRIB_DESCRIPTION="Ubuntu 11.10"root@puppet-1:/etc/puppet# uname -aLinux puppet-1 3.0.0-16-server #28-Ubuntu SMP Fri Jan 27 18:03:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
I recently built, added to puppet and then nuked a server. Before I re-added the machine (after I rebuilt it, with the same name), I went to the puppet server and ran `puppet cert revoke dev-8.company.com` and `puppet cert clean dev-8.company.com`. Now when puppet runs on ANY server in my environment, they get the following error:
info: Caching certificate for dev-8.company.comerr: 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 clientwarning: Not using cache on failed catalogerr: Could not retrieve catalog; skipping runerr: Could not send report: 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 clientNow I know for a fact that it isn't a time issue because the puppet server is on NTP as are the clients. The new machine is also within 1-2 seconds of server time.
All of the clients are configured to run (via Cron) `/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server puppet.company.com`. The server is named puppet-1.company.com but puppet. is a valid cname. I've tried rebooting the puppet server, I've tried upgrading it, just about anything I can think of.
Just a couple of issues...On Tue, Feb 21, 2012 at 4:56 PM, Jon Davis <j...@snowulf.com> wrote:
I recently built, added to puppet and then nuked a server. Before I re-added the machine (after I rebuilt it, with the same name), I went to the puppet server and ran `puppet cert revoke dev-8.company.com` and `puppet cert clean dev-8.company.com`. Now when puppet runs on ANY server in my environment, they get the following error:
info: Caching certificate for dev-8.company.comerr: 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 clientwarning: Not using cache on failed catalogerr: Could not retrieve catalog; skipping runerr: Could not send report: 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 clientNow I know for a fact that it isn't a time issue because the puppet server is on NTP as are the clients. The new machine is also within 1-2 seconds of server time.For "normal" NTP clients, this would imply that your time sync is off by a few factors (ie. your time differences should be mere fractions of seconds off between servers if your NTP setup is working correctly).
All of the clients are configured to run (via Cron) `/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server puppet.company.com`. The server is named puppet-1.company.com but puppet. is a valid cname. I've tried rebooting the puppet server, I've tried upgrading it, just about anything I can think of.If the reverse (IN-ADDR) of your puppet server is going to return puppet.company.com as its name, but you are connecting to foo.company.com, that's pretty much a textbook SSL error (ie. your SSL certificate doesn't match the name it's claiming to be). What happens if you delete the SSL cert on the client, and re-run the CSR by pointing at the real name of the server?
--Hope that helps...Russell
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
How can I track down where the issue for this is? I've found some bugs and blog posts that seem to be related [1][2] and I've followed all of the instructions and checked ALL of the versions related. I'm running Ruby 1.8.7 and Puppet 2.7.9 on both sides of the equation, which appear to be "OK" versions by everyone's posting. I've got as far as doing a `puppet cert clean --all` and `puppet cert clean puppet.company.com` and regenerating. Still doesn't work. I've also followed every step on only Puppet Doc's page that I can find related entries on [3]
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 02/22/2012 08:58 PM, Jon Davis wrote:
> How can I track down where the issue for this is?
it's always troublesome, but the only clean approach I'm aware of is
"openssl s_client" and "openssl x509" to carefully compare what the
master is presenting when the agent connects to whatever the agent is
expecting (i.e. what's cached on agent side).
I'd like to stress this: Not everyone is operating under testing
conditions. Blasting $ssldir is typically not an option. I know people
are trying to be helpful, but puppet authentication is no a good
instance to endorse the KISS strategy.
Cheers,
Felix
________________________________
Any ideas?
Thanks.
Glen
http://www.linkedin.com/in/shakataganai <http://www.linkedin.com/in/shakataganai> <http://twitter.com/shakataganai>
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/we1mj3rXSUcJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
This email communication and any files transmitted with it may contain
confidential and or proprietary information and is provided for the use of the
intended recipient only. Any review, retransmission or dissemination of this
information by anyone other than the intended recipient is prohibited. If you
receive this email in error, please contact the sender and delete this
communication and any copies immediately. Thank you.