[jruby-user] RestClient and OpenSSL::X509::StoreError: No message available

"Ken E." <[email protected]> Mon, 20 Oct 2014 19:47:26 +0200
Newsgroups gmane.comp.lang.jruby.user
Message-ID <[email protected]>
I use RestClient in our afpplication and this error started appearing
with jRuby 1.7.16.

A google search on the error found that "No message available" is a
problem that will be fixed in openssl 0.9.6 (which has not been
released).

The search also found reference to OpenSSL::X509::DEFAULT_CERT_FILE
#1953 bug that was fixed in 1.7.16. I'm assuming this fix broke my
application since we use RestClient to access a https url and haven't
worried about certificates.

Assuming this is the problem, how exactly should RestClient work with a
https url? There seems to be options for providing a certificate and key
files but where do these files come from? And to make matters more
complex, #1953 implies certificates need to be installed in a java key
store. How does that work with RestClient?

Is there a way to unfix this bug fix and go back to the way things used
to work?

-- 
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email