Tigase with OpenJDK7 with OpenSSL 101

There is a bug in early version of OpenSSL library (OpenSSL 1.0.1 14 Mar 2012) which causes XMPP clients using this library to hang during starttls when Tigase is running on OpenJDK7. It can also be seen when following command is executed:

openssl s_client -debug -showcerts -connect

It seems that running following command will work:

openssl s_client -debug -showcerts -ssl3 -connect