Skip to content Skip to sidebar Skip to footer

Android - Retrofit2 - Java.security.cert.certpathvalidatorexception: Trust Anchor For Certification Path Not Found

I want to get data from the server (https://data.egov.kz/api/v2/zheke_zhane_zandy_tulgalardy_k1/v6?pretty) as an array of json objects. But I get this Log: java.security.cert.C

Solution 1:

You server url is https and certificate is already not valid.

enter image description here

Change https to http and it will work.

Else you can install valid SSL certificate on the server.

enter image description here

Post a Comment for "Android - Retrofit2 - Java.security.cert.certpathvalidatorexception: Trust Anchor For Certification Path Not Found"