mumboe/soap4r — Issue #2: get Error: OpenSSL::SSL::SSLError: SSL_set_tlsext_host_name when use soap4r-ruby1.9 with httpclient 2.2.3
Author: windy
Created: 2011-11-23 02:54:19+00:00
State: open

#@driver is a httpclient obj.
def close_ssl_verify
@driver.options['protocol.http.ssl_config.verify_mode'] = OpenSSL::SSL::VERIFY_NONE
end

def set_timeout(timeout = 30)
puts @driver.options['protocol.http.receive_timeout']
@driver.options['protocol.http.receive_timeout'] = timeout * 60
end

then connecting to https:// server, the error as the title appears.

But when I switch to Root user, It's all ok. But I think it's not need for root privige. So plz fix it .

ENV:

ruby1.9.2
ubuntu10.10
httpclient: 2.2.3
soap4r-ruby1.9 dependency on it.
Thx.