Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android NoSuchAlgorithmException: "SSLContext SSL implementation not found"

Tags:

android

https

ssl

SSLContext context = SSLContext.getInstance("SSL");

The above line results in the exception:

java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found

I'm using Android 2.0 SDK and when specifying "TLS", it is accepted.

How come I get the exception? Doesn't Android support SSL?

like image 867
AOO Avatar asked Dec 01 '09 14:12

AOO


1 Answers

If you are using the default Harmony JSSE, "TLS" is the only protocol it supports, which is the same as SSLv3.

You have to find another JSSE if you need to use an older version of SSL.

like image 122
ZZ Coder Avatar answered Nov 11 '22 14:11

ZZ Coder