[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r405: Add note about broken connections when the client is running Ruby 1.9.2.

Jeff Licquia licquia at linuxfoundation.org
Tue Mar 12 02:02:38 UTC 2013

revno: 405
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Mon 2013-03-11 22:02:38 -0400
  Add note about broken connections when the client is running Ruby 1.9.2.
-------------- next part --------------
=== modified file 'README'
--- a/README	2012-02-29 20:08:33 +0000
+++ b/README	2013-03-12 02:02:38 +0000
@@ -108,6 +108,42 @@
 the missing bits from this repository anyway.  Suggestions for fixing
 this problem are welcome.
+There is a known issue with running a Puppet client with Ruby 1.9.2,
+where the client refuses to complete the first-time connection with a
+message like this:
+err: Could not request certificate: 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
+(line reformatted for readability)
+The problem has to do with an incompatible change in the way Ruby
+1.9.2 validates certificates.  The problem and fix is discussed here:
+It consists of copying the master CA cert to the client manually, and
+then linking it into OpenSSL's cert cache.  The file to copy should be
+in /var/lib/puppet/ssl/certs/ca.pem if you're using distro-packaged
+Puppet; that's both the location of the file on the master and its
+destination on the client.  The symlink has to be a particular name:
+[hash].0, where [hash] is calculated using this command:
+openssl x509 -hash -noout -in /etc/puppet/ssl/certs/ca.pem
+This symlink should live in /etc/ssl/certs on most Linux
+distributions.  If you're not sure, the following command will tell
+you where it should go:
+openssl version -d
+Once the file and symlink are in place on the client, retry the
+initial puppet connection.  It should work.
 Jeff Licquia
 licquia at linuxfoundation.org

More information about the lsb-messages mailing list