How do I avoid getting “No peer certificate” error when connecting to this HTTPS site on Android?

前端 未结 3 1066
遇见更好的自我
遇见更好的自我 2020-12-10 07:55

I am developing an Android application which needs to access QuickPay\'s service (\"https://secure.quickpay.dk/form\") through an Http-client. But I keep getting errors whe

3条回答
  •  爱一瞬间的悲伤
    2020-12-10 08:05

    Try using UrlConnection class to make connections, and see whether you can avoid this "no peer certificate" error.

提交回复
热议问题