The Tomcat Native Library component of the Apache Tomcat Connectors project offers a JNI wrapper around OpenSSL allowing it to be used with Tomcat for TLS connections instead of JSSE.