Hi, Im looking for help using HttpClient with Ruby on Rails. Heres our
environment:
Red Hat Enterprise Linux ES release 4 (Nahant Update 4) OR Cent OS 5.4
openssl version: OpenSSL 0.9.8e 23 Feb 2007 or OpenSSL 0.9.8e-fips-rhel5
01 Jul 2008 or OpenSSL 0.9.7a Feb 19 2003
ruby: 1.8.6 or 1.8.7
httpclient ruby gem: httpclient 2.1.5.2
On the RHEL4 based machines (with openssl of 0.9.7 OR 0.9.8) I get one
of these 2 errors 9whereas the same code on CentOS works):
1) cacerts loading failed
at depth 1 - 20: unable to get local issuer certificate
OpenSSL::SSL::SSLError: certificate verify failed
from
/usr/local/lib/ruby/gems/1.8/gems/httpclient-2.1.5.2/lib/httpclient/session.rb:247:in
`connect'
OR
2) cacerts loading failed
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed
from
/usr/local/lib/ruby/gems/1.8/gems/httpclient-2.1.5.2/lib/httpclient/session.rb:247:in
`connect'
I thought that upgrading SSL would fix the RHEL4 servers but thats not
the case.
Anyone have an idea of what other packages or libraries I need to
upgrade on RHEL4 to make these errors go away?
Any input is appreciated, thanks,
Mike
···
--
Posted via http://www.ruby-forum.com/.