Description of problem: Recent OpenSSL breaks ruby test suite, ``` 1) Error: TestGemRemoteFetcher#test_ssl_client_cert_auth_connection: Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate request A: dh key too small (https://localhost:46843/yaml) /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:88:in `rescue in connection_for' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:85:in `connection_for' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:140:in `perform_request' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:109:in `fetch' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:352:in `request' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:237:in `fetch_http' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:273:in `fetch_path' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:748:in `block in test_ssl_client_cert_auth_connection' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:806:in `with_configured_fetcher' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:745:in `test_ssl_client_cert_auth_connection' 2) Error: TestGemRemoteFetcher#test_ssl_connection: Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate request A: dh key too small (https://localhost:50512/yaml) /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:88:in `rescue in connection_for' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:85:in `connection_for' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:140:in `perform_request' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:109:in `fetch' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:352:in `request' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:237:in `fetch_http' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:273:in `fetch_path' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:731:in `block in test_ssl_connection' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:806:in `with_configured_fetcher' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:730:in `test_ssl_connection' 3) Error: TestGemRemoteFetcher#test_ssl_connection_allow_verify_none: Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate request A: dh key too small (https://localhost:59491/yaml) /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:88:in `rescue in connection_for' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:85:in `connection_for' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:140:in `perform_request' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:109:in `fetch' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:352:in `request' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:237:in `fetch_http' /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:273:in `fetch_path' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:783:in `block in test_ssl_connection_allow_verify_none' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:806:in `with_configured_fetcher' /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:782:in `test_ssl_connection_allow_verify_none' 16012 tests, 2886828 assertions, 0 failures, 3 errors, 41 skips ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux-gnu] ``` It worked on openssl.x86_64 0:1.0.1e-16.el6_5.15 . Version-Release number of selected component (if applicable): OpenSSL: openssl.x86_64 0:1.0.1e-30.el6_6.12 Ruby: rh-ruby22-ruby-2.2.2-13.el6 How reproducible: Steps to Reproduce: 1. rhpkg scratch-build rh-ruby22-ruby-2.2.2-13.el6.src.rpm Actual results: Build failure Expected results: Build success Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-1482.html