After upgrading to Ubuntu 20, I can no longer run thin server in ssl mode:
thin start --ssl
Server starts fine but when I go to it I get:
140107127297856:error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small:../ssl/ssl_rsa.c:310:
ruby /home/kevin/.rvm/gems/ruby-2.5.0/bin/thin start --ssl: ssl.cpp:203: SslContext_t::SslContext_t(bool, const string&, const string&, const string&, const string&, const string&, int): Assertion `e > 0' failed.
I've tried modifying the /etc/ssl/openssl.cnf to add
DEFAULT@SECLEVEL=1
but no luck. Any ideas how to fix?
Thanks, Kevin