require 'rubygems'
require 'savon'
require 'httpclient'
require 'openssl'

HTTPI.adapter = :httpclient

client = Savon.client do
ssl_ca_cert_file '/etc/pki/tls/certs/ca-bundle.crt'
wsdl '/TelematchWebservices.wsdl'
end

$xml = IO.read("test.xml")

response = client.call(:test)
response.body

is what I'm trying to do and i get the following errors:

unable to get local issuer certificate

`rescue in request': SSL_connect returned=1 errno=0 state=SSLv3 read 
server certificate B: certificate verify failed (HTTPI::SSLError)

No idea how to proceed. I have tried a few things but nothing is 
promising so far.

-- 
Posted via http://www.ruby-forum.com/.