From: Christopher Wilson Date: 2008-03-06T07:13:20+09:00 Subject: OpenSSL/SOAP - keystore/truststore I am attempting to connect to a secure SOAP web service and have been provided a password protected keystore, truststore and also a self signed *.cer file. The server component is implemented in java and the documentation is plentiful. While I have been able to use the non-secure service, I am not sure how to use the keystore/truststore particularly with password protection. I realize that this is roughly what is available to me in the ruby lib: 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 #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' Thanks in advance for any insight. Christopher Wilson -- Posted via http://www.ruby-forum.com/.