ajax request for HTTPS with Cordova

Asked

Viewed 59 times

0

How to make ajax request for HTTPS in app made with Cordova?

is returning error "Unable to Verify the first Certificate"

  • You are making this request to your own local server ?

  • no.. for my server already hosted on the web.. apache server with ssl enabled and Cors tbm.. when I do the http request, it works normal, when I use https from the error, I now discovered this in the return {"readyState":4,"responseText":"","status":404,"statusText":"Not Found"} that as app already installed

  • so this is a problem with your server, some ill-installed certificate or something, trying to elaborate a better question.

  • do not think it is a problem on the server pq request made by browser works normal..

  • 1

    @Marcelorafael discovered the problem... was missing the intermediate certificate on my server.. thanks for the help

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.