|
@@ -59,7 +59,7 @@ class RetrofitFactory private constructor() {
|
|
|
return OkHttpClient.Builder()
|
|
|
.addInterceptor(initLogInterceptor())
|
|
|
.addInterceptor(CommonInterceptor())
|
|
|
- .sslSocketFactory(Https.getSSLCertifcation(Utils.getApp()))
|
|
|
+ .sslSocketFactory(Https.getSSLCertifcation(Utils.getApp()),HttpsUtil.getTrustManager())
|
|
|
.hostnameVerifier(HttpsUtil.UnSafeHostnameVerifier())
|
|
|
.connectTimeout(20, TimeUnit.SECONDS)
|
|
|
.readTimeout(20, TimeUnit.SECONDS)
|