accepting HTTPS connections with self-signed certificates

前端 未结 13 2285
小蘑菇
小蘑菇 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 05:08

    Maybe this will helpful... it works on java clients using self-signed certificates (there is no check of the certificate). Be careful and use it only for development cases because that is no secure at all!!

    How to ignore SSL certificate errors in Apache HttpClient 4.0

    Hope it will works on Android just adding HttpClient library... good luck!!

提交回复
热议问题