Skip to content Skip to sidebar Skip to footer

Android Nosuchalgorithmexception: "sslcontext Ssl Implementation Not Found"

SSLContext context = SSLContext.getInstance('SSL'); The above line results in the exception: java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found I'm

Solution 1:

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.

Solution 2:

News from IO 2014. Now it can be installed:

SSLContext getsSLContext(Context ){
    ProviderInstaller.instalelIfNeeded(context);
    return SSLContext.getInstance("SSL");
}

For more information see this blog and google services security.

Post a Comment for "Android Nosuchalgorithmexception: "sslcontext Ssl Implementation Not Found""