Accept Self signed certificate ajax

3 posts, 1 answers
  1. Answer
    Etienne
    Etienne avatar
    2 posts
    Member since:
    Jan 2013

    Posted 24 Jan 2013 Link to this post

    Hello,

    I have an application in icenium that call a rest/json wcf service using jquery. When the calls are made using a non-encrypted connection (http) everything behaves as it should. However, when I use a ssl encrypted connection (https) all my ajax calls fail. I figure this is related to the self-signed certificate I use to test.

    I was wondering if there was any way to accept self-signed certificates. I even installed the certificates on my iPad and still can't get it to work.

    Any help would be greatly apreciated.
  2. Etienne
    Etienne avatar
    2 posts
    Member since:
    Jan 2013

    Posted 25 Jan 2013 Link to this post

    According to some research I did, it's possible to set a white list of domains in cordova. The file is corcova.plist in the case of the ios app. 

    Is there any way to modify that file in icenium or is this restricted?
  3. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 21 Feb 2013 Link to this post

    No, you can't alter the cordova.plist with Icenium.

    Here is a similar problem on stackoverflow, I hope the answer that has been given to the person who asked works for you: http://stackoverflow.com/questions/3560881/does-phonegap-support-https-ajax-requests
Back to Top