Skip to content

Instantly share code, notes, and snippets.

@pokonski
Created December 29, 2011 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pokonski/1533465 to your computer and use it in GitHub Desktop.
Save pokonski/1533465 to your computer and use it in GitHub Desktop.
piotrek@desktop:~$ which ruby
/home/piotrek/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
piotrek@dektop:~$ ruby https_test.rb
/home/piotrek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:678:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
from /home/piotrek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:678:in `block in connect'
from /home/piotrek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
from /home/piotrek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
from /home/piotrek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:678:in `connect'
from /home/piotrek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
from /home/piotrek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:626:in `start'
from https_test.rb:8:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment