Bug #7818

Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

Added by Mark Madsen about 1 year ago. Updated about 1 year ago.

[ruby-core:52079]
Status:Closed
Priority:Normal
Assignee:Martin Bosslet
Category:ext
Target version:2.0.0
ruby -v:ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0] Backport:

Description

=begin
Ruby 2.0.0-rc2 is not compatible with openssl 1.0.1d.

It works as expected on 1.0.1c

When used with 1.0.1d ruby is unable to validate certificates and other things might be broken as well.

For example:

gem install bundler --source https://rubygems.org

will fail when linked to 1.0.1d with:

ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
    SSL_read: bad decompression

As noted, openssl 1.0.1c works as expected.
=end

History

#1 Updated by Martin Bosslet about 1 year ago

  • Category set to ext
  • Status changed from Open to Assigned
  • Assignee set to Martin Bosslet

#2 Updated by Jeremy Kemper about 1 year ago

This is working for me:

2.0.0-rc2 ~ ruby -ropenssl -e 'puts RUBYDESCRIPTION, OpenSSL::OPENSSLVERSION'
ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.2.0]
OpenSSL 1.0.1d 5 Feb 2013

2.0.0-rc2 ~ gem install bundler --source https://rubygems.org
Successfully installed bundler-1.2.3
Done installing documentation for bundler (0 sec).
1 gem installed

#3 Updated by Mark Madsen about 1 year ago

I was seeing it fail when it tries to validate without a cacert.pem for openssl - but in this case shouldn't it fall back to the pem that comes with ruby gems?

#4 Updated by Mark Madsen about 1 year ago

I am building ruby with 1.0.1d on something that is not a Mac right now and will report back the results.

#5 Updated by Mark Madsen about 1 year ago

@Martin, you can close this. I think the issue is that the openssl 1.0.1d bundled with rbenv couldn't find it's cacert.pem.

#6 Updated by Martin Bosslet about 1 year ago

  • Status changed from Assigned to Closed

Alright, closed. Thanks Mark, for sorting this out!

Also available in: Atom PDF