We’re trying to make web service calls against a web service that seems
to have upgraded their SSL certificate to use SSLv3. We are now
experiencing web service call failures.
We’re using the rest-client with jruby-openssl and getting
bad_record_mac talking to the web service.
Exception: Received fatal alert: bad_record_mac
C:/Program Files (x86)/Tap In Systems/Control Plan
Editor/jrubylib/lib/ruby/1.8/net/http.rb:586:in connect' C:/Program Files (x86)/Tap In Systems/Control Plan Editor/jrubylib/lib/ruby/1.8/net/http.rb:553:indo_start’
C:/Program Files (x86)/Tap In Systems/Control Plan
Editor/jrubylib/lib/ruby/1.8/net/http.rb:542:in start' C:/Program Files (x86)/Tap In Systems/Control Plan Editor/jrubylib/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:intransmit’
C:/Program Files (x86)/Tap In Systems/Control Plan
Editor/jrubylib/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:55:in execute' C:/Program Files (x86)/Tap In Systems/Control Plan Editor/jrubylib/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:30:inexecute’
C:/Program Files (x86)/Tap In Systems/Control Plan
Editor/jrubylib/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/resource.rb:54:in get' C:/Program Files (x86)/Tap In Systems/Control Plan Editor/jrubylib/lib/ruby/site_ruby/1.8/RightAPI.rb:98:insend’
From what I’ve read, I believe we somehow need to force jruby-openssl to
only use SSLv3 (and not TLS). Or, at least, something along those
lines.
Can anyone give me some pointers on what to try next? Can anyone tell
me how to specify the SSL version so that it will be picked up by
jruby-openssl?
We’re trying to make web service calls against a web service that seems
to have upgraded their SSL certificate to use SSLv3. We are now
experiencing web service call failures.
Interesting. What version of JRuby and jruby-openssl gem are you
using? Can you tell me the URL which you are trying to connect?
Editor/jrubylib/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:in
C:/Program Files (x86)/Tap In Systems/Control Plan
Cheers.
Which version of jruby-openssl are you using? Have you tried a recent
snapshot?
We’re trying to make web service calls against a web service that seems
to have upgraded their SSL certificate to use SSLv3. �We are now
experiencing web service call failures.
Interesting. What version of JRuby and jruby-openssl gem are you
using? Can you tell me the URL which you are trying to connect?
Hi,
I’ve tried this with JRuby 1.2 and 1.3.1 on my Ubuntu 9.10 laptop and
with JRuby 1.4.0 on our Ubuntu 8.04 server. Using jruby-openssl-0.6 in
all cases.
We’re trying to make web service calls against a web service that seems
to have upgraded their SSL certificate to use SSLv3. �We are now
experiencing web service call failures.
Interesting. What version of JRuby and jruby-openssl gem are you
using? Can you tell me the URL which you are trying to connect?
Hi,
I’ve tried this with JRuby 1.2 and 1.3.1 on my Ubuntu 9.10 laptop and
with JRuby 1.4.0 on our Ubuntu 8.04 server. Using jruby-openssl-0.6 in
all cases.
Oh, and the traceback earlier comes from a colleague’s Windows box, also
exhibiting the same problem.
Interesting. What version of JRuby and jruby-openssl gem are you
using? Can you tell me the URL which you are trying to connect?
I’ve tried this with JRuby 1.2 and 1.3.1 on my Ubuntu 9.10 laptop and
with JRuby 1.4.0 on our Ubuntu 8.04 server. Using jruby-openssl-0.6 in
all cases.
We’re trying to make web service calls against a web service that seems
to have upgraded their SSL certificate to use SSLv3. �We are now
experiencing web service call failures.
Interesting. What version of JRuby and jruby-openssl gem are you
using? Can you tell me the URL which you are trying to connect?
Hi,
I’ve tried this with JRuby 1.2 and 1.3.1 on my Ubuntu 9.10 laptop and
with JRuby 1.4.0 on our Ubuntu 8.04 server. Using jruby-openssl-0.6 in
all cases.
Oh, and the traceback earlier comes from a colleague’s Windows box, also
exhibiting the same problem.
Another colleague reports that he was using “jruby 1.4.0 (ruby 1.8.7
patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot™ Client VM
1.6.0_18) [x86-java]”.
We’re trying to make web service calls against a web service that seems
to have upgraded their SSL certificate to use SSLv3. �We are now
experiencing web service call failures.
Interesting. What version of JRuby and jruby-openssl gem are you
using? Can you tell me the URL which you are trying to connect?
Hi,
I’ve tried this with JRuby 1.2 and 1.3.1 on my Ubuntu 9.10 laptop and
with JRuby 1.4.0 on our Ubuntu 8.04 server. Using jruby-openssl-0.6 in
all cases.
Oh, and the traceback earlier comes from a colleague’s Windows box, also
exhibiting the same problem.
Another colleague reports that he was using “jruby 1.4.0 (ruby 1.8.7
patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot™ Client VM
1.6.0_18) [x86-java]”.
jruby 1.4 + jruby-openssl gem 0.6.1 works as expected.
Hi,
Thanks for your help so far. I’m still having difficulties.
How you’re installing jruby-openssl-0.6.1 or where you’re getting it
from?
My laptop seems to see 0.6 as the latest. I’ve tried reinstalling
jruby-openssl. I’ve tried installing a specific version (“ERROR: could
not find gem jruby-openssl-0.6.1 locally or in a repository”). I’ve
tried updating all installed gems. I still can only get
jruby-openssl-0.6.
Editor/jrubylib/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:in
C:/Program Files (x86)/Tap In Systems/Control Plan
Cheers.
Which version of jruby-openssl are you using? Have you tried a recent
snapshot?
Editor/jrubylib/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:in
C:/Program Files (x86)/Tap In Systems/Control Plan
Cheers.
Which version of jruby-openssl are you using? Have you tried a recent
snapshot?
Jruby-openssl 0.6.1 worked for us. You guys have been very generous in
your help and it’s much appreciated. Thank you very much.
Absolutely! Thanks very much. It’s working on the server now using a
combination of the jruby-openssl-0.6.1 build and specifying the
“JRUBY_HOME=” with “jruby -S gem install…” for JRuby 1.4.0.
Jruby-openssl 0.6.1 worked for us. You guys have been very generous in
your help and it’s much appreciated. Thank you very much.
Absolutely! Thanks very much. It’s working on the server now using a
combination of the jruby-openssl-0.6.1 build and specifying the
“JRUBY_HOME=” with “jruby -S gem install…” for JRuby 1.4.0.
And I confirmed that the sample script does not work with
jruby-openssl 0.6.0 (the latest released version). I think the
following commit fixes SSL protocol version handling.
And I think I can safely speak for entire JRuby Core team in this
case, I would just say that your contributions to the jruby-openssl ar
GREATLY appreciated. Just an outstanding work, really! It is a great
feeling that SSL stuff on JRuby is in shape now and thoroughly
supported.
Thanks,
–Vladimir
On Fri, Apr 16, 2010 at 3:17 AM, NAKAMURA, Hiroshi [email protected]
wrote:
“JRUBY_HOME=” with “jruby -S gem install…” for JRuby 1.4.0.
And I think I can safely speak for entire JRuby Core team in this
case, I would just say that your contributions to the jruby-openssl ar
GREATLY appreciated. Just an outstanding work, really! It is a great
feeling that SSL stuff on JRuby is in shape now and thoroughly
supported.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.