How to create an https Connection?

后端 未结 2 2023
北恋
北恋 2020-12-18 16:01

My code works for http, but not https. I\'m trying to make Https connections on the Android phones, using HttpClient. Trouble is that i keep getting net.s

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-18 16:41

    Try looking at how https over HttpClient was implemented in the answers in this post: Trusting all certificates using HttpClient over HTTPS

    They have talked in detail on Keystore and TrustManager

提交回复
热议问题