From: barjunk Date: 2007-02-24T02:15:07+09:00 Subject: Re: OpenSSL , SOAP4R On Feb 23, 7:04 am, "Mike Wernsing" wrote: > > > server.options["protocol.http.ssl_config.verify_mode"] = nil > > if the certificate (.crt) , I don't understanding how do you 've a > > variable named "server" with an options hash.. > > Hopefully this may clarify, > > wsdl = 'https://some.com/something.wsl' > factory = SOAP::WSDLDriverFactory.new( wsdl ) > drv = factory.create_rpc_driver > drv.options[ 'protocol.http.ssl_config.ca_file' ] = nil > > alternatively: > > drv.options['protocol.http.ssl_config.verify_mode'] = openSSL::SSL::VERIFY_NONE > > some other possibly useful options: > > drv.options['protocol.http.ssl_config.verify_mode'] = OpenSSL::SSL::VERIFY_PEER > drv.options['protocol.http.ssl_config.ca_file'] = 'api_cert_chain.crt' > drv.options['protocol.http.ssl_config.client_cert'] = 'client.cert' > drv.options['protocol.http.ssl_config.client_key'] = 'client.keys' This is good stuff! What would be a good link to have found this for myself? Thanks! Mike B.