geminabox / geminabox

Really simple rubygem hosting

Home Page:https://tomlea.co.uk/p/gem-in-a-box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSLtest fails only on Ubuntu 20.04 (focal)

tnir opened this issue · comments

SSLTest#test_method in bundle exec rake test:integration fails on the following conditions.

  1. Fails only on Ubuntu 20.04, not on 18.04, 16.04:
  2. Fails only with Ruby 2.4 through 3.0 even on Ubuntu 20.04 while succeeds with Ruby 2.2/2.3 on Ubuntu 20.04

Error log

  1) Failure:
SSLTest#test_method: can push example  [/home/travis/build/tnir/geminabox/test/test_support/geminabox_test_case.rb:53]:
Expected /Gem .* received and indexed./ to match "ERROR:  While executing gem ... (HTTPClient::ConnectTimeoutError)\n    execution expired\nPushing example-1.0.0.gem to https://127.0.0.1:44157/...\n".

the error is OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small