Please upgrade jruby-openssl to 0.14.0 to pick up a fix for a security issue with BouncyCastle as reported here: https://github.com/jruby/jruby-openssl/issues/260#issuecomment-1171213895 I can submit a PR if necessary