Android SSL - No Peer Certificate

前端 未结 10 722
鱼传尺愫
鱼传尺愫 2020-12-05 03:30

Whenever this code runs, I get a \'No Peer Certificate\' error.

SSL certificate is valid, bought from Namecheap (PositiveSSL). It has the CA crt before it, and opens

10条回答
  •  余生分开走
    2020-12-05 04:02

    I tried to fix this from android code by adding an "accept all certificate" rule. But all the effort from android side was worthless. Finally making a CNAME in registrar entry that ensured that all requests go to the same IP address fixed the problem

提交回复
热议问题