On Dec 10, 2008, at 11:44 AM, Michael Mcgrath wrote:
> > Hi > I want to consume some web services that are only available over > HTTPS. > > My method looks like this: > def lookup_id > myid=params[:id] > driver = > SOAP::WSDLDriverFactory.new("https://server.com/xxx.wsdl" Try this: SOAP::WSDLDriverFactory.new("https://server.com/xxx.wsdl", { 'ssl_config' => { 'verify_mode' => OpenSSL::SSL::VERIFY_NONE }}) Rob Biedenharn http://agileconsultingllc.com [EMAIL PROTECTED] > ).create_rpc_driver > @p=driver.verifyId(AUTH_TOKEN, PIN, myid) > end > > Although this works fine on my local box (with a warning), when > deployed > to the staging server I get: > OpenSSL::SSL::SSLError (certificate verify failed): > > Can anyone assist me in telling SOAP4R and/or OpenSSL to simply treat > this is a warning rather than an error? > > Thanks in advance, > Michael. > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---