Wsdl2ruby.rb and "certificate verify failed"

  1. I installed the most recent httpclient from
    http://dev.ctor.org/http-access2/wiki#Download.

  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:in ssl_connect’
from /usr/local/lib/site_ruby/1.8/httpclient.rb:1466:in
connect' from /usr/lib/ruby/1.8/timeout.rb:56:in timeout’
from /usr/lib/ruby/1.8/timeout.rb:76:in timeout' from /usr/local/lib/site_ruby/1.8/httpclient.rb:1454:in connect’
from /usr/local/lib/site_ruby/1.8/httpclient.rb:1311:in query' from /usr/local/lib/site_ruby/1.8/httpclient.rb:932:in query’
from /usr/local/lib/site_ruby/1.8/httpclient.rb:2131:in
`do_get_block’

Any ideas?