From: Joe Gutierrez Date: 2009-05-02T08:17:37+09:00 Subject: Re: SOAP - issue with openssl verification failure I am having the same problem. Is adding the cert to your trusted certs list a Ruby thing or a system related task? It seems that it's not possible to specify options to SOAP::WSDLDriverFactory.new, such as an SSL cert :). Joseph Gutierrez Web Developer - Inc21 jgutierrez@inc21.com Steven Williamson wrote: > 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" 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 = SOAP::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/. > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.