users@tyrus.java.net

SSL handshake failures with Android 5.0

From: Matthew Mah <matthew.y.mah_at_gmail.com>
Date: Fri, 16 Jan 2015 15:03:39 -0500

I am encountering problems connecting Android 5.0 using the tyrus
websocket to either nginx or tomcat servers using a secure websocket.

javax.websocket.DeploymentException: SSL handshake has failed

The code works fine for Android 4.4 , so I think this is related to the
SSL changes in Android 5.0:
http://developer.android.com/about/versions/android-5.0-changes.html#ssl

Is there a way I can tell what exactly is failing? I am not sure whether
its a problem with the certificate or with the TLS protocol or the
cipher suites available.

Thanks,
Matt