In NetworkConnectionImpl SSLContext sc = SSLContext.getInstance("SSL"); but in android 2.2 (API 8) - i have exception SSLMethodUnknown more valid SSLContext sc = SSLContext.getInstance("TLS");