PhoneGap Ajax call to HTTPS server with self-signed certificate fails

前端 未结 2 650
闹比i
闹比i 2020-12-16 03:39

I am relatively new to phonegap and I have recently set up HTTPS/SSL on my windows apache server with a self signed certificate and am trying to make an HTTPS ajax post requ

2条回答
  •  北海茫月
    2020-12-16 03:48

    I spent hours on this issue until I found that there is a quick and dirty fix possible. It involves overriding CordovaWebViewClient to ignore certificate errors.

提交回复
热议问题