Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JRuby doesn't support OpenSSL library #5174

Closed
CT-Rahul opened this issue May 16, 2018 · 3 comments
Closed

JRuby doesn't support OpenSSL library #5174

CT-Rahul opened this issue May 16, 2018 · 3 comments

Comments

@CT-Rahul
Copy link

JRuby doesn't support OpenSSL library

@kares
Copy link
Member

kares commented May 16, 2018

is this just a random issue report or could you explain what do you mean by that?
require 'openssl' clearly works in JRuby -> if it weren't most libraries such a RubyGems wouldn't work

@headius headius added this to the Invalid or Duplicate milestone May 16, 2018
@headius
Copy link
Member

headius commented May 16, 2018

JRuby clearly does support the API of Ruby's openssl library, so this is not a valid report. If you have a specific issue using openssl in JRuby please file a more detailed report.

@headius headius closed this as completed May 16, 2018
@CT-Rahul
Copy link
Author

I am using Mechanize gem(jruby-9.1.15.0) to get the page, but following error is there.

OpenSSL::SSL::SSLError: handshake alert: unrecognized_name
from org/jruby/ext/openssl/SSLSocket.java:228:in `connect_nonblock'

My code is..
agent = Mechanize.new
agent.verify_mode = OpenSSL::SSL::VERIFY_NONE
page = agent.get "some url"

Then I added OpenSSL and jruby-openssl gems but i did not find any solution for that.

openssl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants