Skip to content Skip to sidebar Skip to footer

SSL Not Working On Android 2.2 (only In 2.3)

I'm getting this on LogCat when httpsURLConnection.getInputStream() is called SSL handshake failure: Failure in SSL library, usually a protocol error error:14094412:SSL routines

Solution 1:

Make sure the date, time and timezone settings are correct on the 2.2 device.


Solution 2:

I am not sure if you have found the answer, but this seems to be a bug with Android 2.2 not having to analyze the full certificate chain. If you .p12 cert has multiple chain, Android 2.2 doesn't seem to follow the entire chain.

I had the same problem that I asked the question in this SO question. I asked our administrator to generate a new client certificate that is directly issued by Root CA without having the Sub CA and afterwards 2.2 will work. It does bring the question of security of having client certificate without Sub CA as intermediary though.

UPDATE: Android team confirm that this is an issue in 2.1/2.2. The details are in the following issue tracker


Post a Comment for "SSL Not Working On Android 2.2 (only In 2.3)"