diff --git a/WebServiceManager/src/main/java/com/raizlabs/webservicemanager/ssl/SimpleSSLSocketFactory.java b/WebServiceManager/src/main/java/com/raizlabs/webservicemanager/ssl/SimpleSSLSocketFactory.java index e3caaca..3a8fafd 100644 --- a/WebServiceManager/src/main/java/com/raizlabs/webservicemanager/ssl/SimpleSSLSocketFactory.java +++ b/WebServiceManager/src/main/java/com/raizlabs/webservicemanager/ssl/SimpleSSLSocketFactory.java @@ -29,7 +29,7 @@ public class SimpleSSLSocketFactory implements SocketFactory, LayeredSocketFactory { private static SSLContext createSSLContext(TrustManager trustManager) { try { - SSLContext context = SSLContext.getInstance("TLS"); + SSLContext context = SSLContext.getInstance("TLSv1.2"); context.init(null, new TrustManager[] { trustManager }, new SecureRandom()); return context; } catch (NoSuchAlgorithmException e) { diff --git a/gradle.properties b/gradle.properties index 63a00d4..fcde307 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=1.0.1 +VERSION_NAME=1.0.2 ARTIFACT_NAME = WebServiceManager GROUP_NAME = com.raizlabs GIT_URL = https://github.com/Raizlabs/AndroidWebServiceManager.git