Getting SSLHandShakeException

后端 未结 2 1889
挽巷
挽巷 2020-12-14 12:00

While I am accessing the wsdl url I am getting the exception in android

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException:          


        
2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-14 12:33

    The error is due to an issue in building trust with the server. Mostly your truststore does not have the certificates the server is submitting. Answers of following 2 questions may help you.

    [1] - How Can I Access an SSL Connection Through Android?

    [2] - Certificate is trusted by PC but not by Android

提交回复
热议问题