Android WebView setCertificate issues SSL problems

前端 未结 4 1347
情书的邮戳
情书的邮戳 2021-02-14 05:45

I have seen a lot of posts and information about SSL errors and I have stumbled upon one myself.

I am trying to access a web page through Android WebView with a GlobalSi

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-14 06:18

    I tried to decode the certificate but it does not seem to be valid (actually I tested 2 distinct X509 implementations and both gave me an "incorrect encoding" error).

    Can you give more details on the SSL exception?

    I did not find much information about the setCertificate method. I think this method expects the server certificate. You should ensure that the certificate you decode is the end entity certificate and not a CA certificate.

提交回复
热议问题