users@tyrus.java.net

Re: SSL handshake failures with Android 5.0

From: Salatiel Filho <salatiel.filho_at_gmail.com>
Date: Fri, 16 Jan 2015 19:59:48 -0300

Try disable tlsv1.2 And check if it works.
On Jan 16, 2015 5:04 PM, "Matthew Mah" <matthew.y.mah_at_gmail.com> wrote:

> 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
>