开发者

Does phonegap for android supports https ajax requests?

I am developing a phonegap application on Android which uses ajax requests to the server with https protocol. The SSL certificate that the server uses now is trusted and verified ( you can check it if you want to: https://www.korebe.com/Android/Bilgi ) but result of the xmlhttp requests is always blank due to https c开发者_C百科onnection.

Same version of the on http is works fine but I want to connect through https.

What could be reason behind this issue?

Thanks.


I think the problem is with your certificate. When I try to connect to other SSL sites the request works fine, but when I try to connect to your it chokes.

When I visit your site in the browser, it does show a green lock and everything appears fine, but then whenI view the certificate information I see this.

Does phonegap for android supports https ajax requests?

I am not sure what the problem is, but I have read that the combination of PhoneGap and the Android Emulator do not handle cert errors well.

I really suspect that the issue is your cert.

Just for fun, I tried my test on a real device too (Nexus One with Android 2.3) and it also failed there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜