accepting HTTPS connections with self-signed certificates

前端 未结 13 2277
小蘑菇
小蘑菇 2020-11-22 04:20

I\'m trying to make HTTPS connections, using HttpClient lib, but the problem is that, since the certificate isn\'t signed by a recognized Certificate Authority

13条回答
  •  我寻月下人不归
    2020-11-22 04:55

    This is problem resulting from lack of SNI(Server Name Identification) support inA,ndroid 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

提交回复
热议问题