JQueryMobile -Android Hybrid App : JQueryMobile ajax is not working with https but works with http

JQueryMobile -Android Hybrid App : JQueryMobile ajax is not working with https but works with http

We have a hybrid android app based on JQueryMobile [with all JS/CSS/HTML packaged inside APK]. This app is able to fetch json data from server [with RESTful interface] using JQM ajax call [for http url] however when we are trying to do the same thing using https it fails.

Another bit is: We have used bouncycastle based certificate to enable TLS [on server] which is working fine with native android calls [using java].

Now we are confused as to why it is working with http however not with https. Any hint in this regard will be appreciated. We don't think it is something to do with CORS/XOR problem as our ajax http calls are working fine.