On Jan 3, 11:21 am, "Fredrik B." <[email protected]> wrote:
> Using Ruby 1.8.7, Rails 2.3.8. I don't want it to verify the cert...
>

I think you can do something like
driver.options["protocol.http.ssl_config"] = {'verify_mode' => foo} or
maybe driver.options["protocol.http.ssl_config.verify_mode"] = foo

Fred

> This is my backtrace:
>
> OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read
> server certificate B: certificate verify failed):
>   httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `connect'
>   httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `ssl_connect'
>   httpclient (2.1.5.2) lib/httpclient/session.rb:639:in `connect'
>   httpclient (2.1.5.2) lib/httpclient/timeout.rb:128:in `timeout'
>   httpclient (2.1.5.2) lib/httpclient/session.rb:631:in `connect'
>   httpclient (2.1.5.2) lib/httpclient/session.rb:522:in `query'
>   httpclient (2.1.5.2) lib/httpclient/session.rb:147:in `query'
>   httpclient (2.1.5.2) lib/httpclient.rb:953:in `do_get_block'
>   httpclient (2.1.5.2) lib/httpclient.rb:765:in `do_request'
>   httpclient (2.1.5.2) lib/httpclient.rb:848:in
> `protect_keep_alive_disconnected'
>   httpclient (2.1.5.2) lib/httpclient.rb:764:in `do_request'
>   httpclient (2.1.5.2) lib/httpclient.rb:666:in `request'
>   httpclient (2.1.5.2) lib/httpclient.rb:596:in `post'
>   /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/streamHandler.rb:23 
> 8:in
> `send_post'
>   /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/streamHandler.rb:17 
> 2:in
> `send'
>   /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/proxy.rb:179:in
> `route'
>   /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/proxy.rb:143:in
> `call'
>   /opt/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/driver.rb:181:i 
> n
> `call'
>   (eval):6:in `getDataBySecure'
>
> --
> Posted viahttp://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 [email protected].
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.

Reply via email to