--001636c5bb71fd67df0468e0c46f
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

This isn't a ruby problem looks like your connecting to a server using ssl
which has self signed certificate. Hence it can't be verifid. If you get
hold of the cert you can add it to your trusted certs list. But brware this
means your trusting the certificate implicitly.

Fine for testing though.

On May 1, 2009 10:04 PM, "Venkat Alla" <spinhoo2000 / yahoo.com> wrote:

I have the following code in a script that I am trying to use at work -

#!/usr/local/bin/ruby

require 'rubygems'
require 'soap/wsdlDriver'

wsdl  myURL'
driver  OAP::WSDLDriverFactory.new(wsdl).create_rpc_driver

I have a working perl snippet given, which uses SOAP::Lite. I want to
use ruby to code my script, but unable to go past the above lines.

Here is the error I am receiving -


 at depth 0 - 20: unable to get local issuer certificate
 OpenSSL::SSL::SSLError: certificate verify failed

I am stuck for hours trying to figure a way out. Please help.

Thanks in advance.
--
Posted via http://www.ruby-forum.com/.

--001636c5bb71fd67df0468e0c46f--