5 Replies Latest reply on Apr 25, 2017 4:53 AM by qngo RSS
    ds-2 Apprentice

    How to import certificate for Https connection?

    hi,

    i need to use SSL certificate for connection. i have the certificate for secure URL. but don't know how to import it?

     

    var url="https://xyz.com/api/getJson"

     

    var params = {

      proxyScheme: undefined /* STRING */,

      headers: undefined /* JSON */,

      ignoreSSLErrors: undefined /* BOOLEAN */,

      useNTLM: undefined /* BOOLEAN */,

      workstation: undefined /* STRING */,

      useProxy: undefined /* BOOLEAN */,

      withCookies: undefined /* BOOLEAN */,

      proxyHost: undefined /* STRING */,

      url: url /* STRING */,

      timeout: undefined /* NUMBER */,

      proxyPort: undefined /* INTEGER */,

      password: undefined /* STRING */,

      domain: undefined /* STRING */,

      username: undefined /* STRING */

    };

     

        // result: JSON

        var json = Resources["ContentLoaderFunctions"].GetJSON(params);

     

     

     

    Can anyone help to how to  import certificate on thingworx.

     

     

     

    Thanks,

    Dinesh