Trust Anchor not found for Android SSL Connection

后端 未结 17 1086
囚心锁ツ
囚心锁ツ 2020-11-22 05:06

I am trying to connect to an IIS6 box running a godaddy 256bit SSL cert, and I am getting the error :

java.security.cert.CertPathValidatorException: Trust an         


        
17条回答
  •  不要未来只要你来
    2020-11-22 05:19

    The Trust anchor error can happen for a lot of reasons. For me it was simply that I was trying to access https://example.com/ instead of https://www.example.com/.

    So you might want to double-check your URLs before starting to build your own Trust Manager (like I did).

提交回复
热议问题