fix for jruby openssl settings

closes #247