javax.net.ssl.SSLHandshakeException: Chain validation failed

Viewed 6752

I have an Android app which was working fine in all devices but recently when I checked it in new Android Samsung A6+ then get the exception i.e..

HTTP FAILED: javax.net.ssl.SSLHandshakeException: Chain validation failed

Getting this issue while calling web service using Retrofit 2.4.0. Here what am getting via catch block logs

Certificate has been revoked, reason: CESSATION_OF_OPERATION, revocation date: Wed Aug 15 01:42:14 GMT+05:30 2018, authority: CN=Starfield Validation Authority - G2, O="Starfield Technologies, LLC", L=Scottsdale, ST=Arizona, C=US, extension OIDs: []
1 Answers

Problem - javax.net.ssl.SSLHandshakeException: Chain validation failed solution - basically when you are using server api then this problem will occurs. some time this occurs, because of hosted data api subdomain ssl certificate expire. and one more thing this issue will be resolved from the server side.

Related