Wsdl2ruby.rb and "certificate verify failed"

  1. I installed the most recent httpclient from

  2. I used wsdl2ruby.rb to generate ruby classes for accessing a
    particular wsdl.

I was hoping that httpclient would take care of certificates for me
since I have openssl installed, but I am getting this error:

/usr/local/lib/site_ruby/1.8/httpclient.rb:1039:in connect': certificate verify failed (OpenSSL::SSL::SSLError) from /usr/local/lib/site_ruby/1.8/httpclient.rb:1039:inssl_connect’
from /usr/local/lib/site_ruby/1.8/httpclient.rb:1466:in
connect' from /usr/lib/ruby/1.8/timeout.rb:56:intimeout’
from /usr/lib/ruby/1.8/timeout.rb:76:in timeout' from /usr/local/lib/site_ruby/1.8/httpclient.rb:1454:inconnect’
from /usr/local/lib/site_ruby/1.8/httpclient.rb:1311:in query' from /usr/local/lib/site_ruby/1.8/httpclient.rb:932:inquery’
from /usr/local/lib/site_ruby/1.8/httpclient.rb:2131:in

Any ideas?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs