Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View Gemfile
1 2 3 4 5 6 7 8 9 10 11
GEM
specs:
bouncy-castle-java (1.5.0145.2)
jruby-openssl (0.7.1)
bouncy-castle-java
 
PLATFORMS
java
 
DEPENDENCIES
jruby-openssl
View Gemfile
1 2 3 4 5 6 7 8 9
require 'rubygems'
# require 'bundler/setup'
require 'jruby-openssl'
require 'openssl'
require 'net/https'
 
http = Net::HTTP.new('s3.amazonaws.com', 443)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
View Gemfile
1 2 3 4
$ jruby -v jossl.rb
jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-02-09 fca8dfc) (Java HotSpot(TM) Client VM 1.6.0_22) [darwin-i386-java]
/Users/nicksieger/Projects/ruby/jruby/lib/ruby/1.8/net/https.rb:148:in `verify_mode=': private method `verify_mode=' called for #<OpenSSL::SSL::SSLContext:0x19eef79> (NoMethodError)
from jossl.rb:8:in `(root)'
donv commented

Did you solve this, Nick?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.