Https Connection Android

后端 未结 15 2002
萌比男神i
萌比男神i 2020-11-22 04:43

I am doing a https post and I\'m getting an exception of ssl exception Not trusted server certificate. If i do normal http it is working perfectly fine. Do I have to accept

15条回答
  •  深忆病人
    2020-11-22 05:38

    This is a known problem with Android 2.x. I was struggling with this problem for a week until I came across the following question, which not only gives a good background of the problem but also provides a working and effective solution devoid of any security holes.

    'No peer certificate' error in Android 2.3 but NOT in 4

提交回复
热议问题