pwnall/stellar — Issue #1: SSL_connect error
Author: uShadow
Created: 2011-12-14 23:00:47+00:00
State: open

Hi,

I got the following exception when using the gem. Is it the problem of finding the CA certificate? When is mitca_path used? Why is line 20 in client.rb commented out?

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in `connect'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in `block in connect'
/usr/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
/usr/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:70:in `connect'
/usr/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
/usr/lib/ruby/1.9.1/net/http.rb:632:in `start'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:405:in `connection_for'
/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:616:in `request'
/usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1.pre.1/lib/mechanize/http/agent.rb:264:in `fetch'
/usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1.pre.1/lib/mechanize.rb:319:in `get'
/usr/lib/ruby/gems/1.9.1/gems/stellar-0.3.0/lib/stellar/client.rb:34:in `get'
/usr/lib/ruby/gems/1.9.1/gems/stellar-0.3.0/lib/stellar/auth.rb:42:in `auth'

Thanks!