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

前端 未结 3 1063
遇见更好的自我
遇见更好的自我 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:15

    Just to sum up, I fixed this issue by sticking to the WebView approach. The interaction with the API was moved to a server, creating an intermediate communication point which handles the certificate issues. Not the most elegant solution but it works :)

提交回复
热议问题