Using getXML() with HTTPS site using self-signed certificate
Hi. I'm trying to create a service which calls getXML() to access a remote API over HTTPS, which is enabled using a self-signed certificate. When I test it, I only get a PKIX error that it cannot validate the certificate. I have tried setting the ignoreSSLErrors flag, but it still errors out. Here is the service's script:
var params = {
ignoreSSLErrors: 1 /* BOOLEAN /,</div></div><div><div> url: "https://server:81?API=GET_SERVER_LIST&XML=1" / STRING */
};
// Load page
var xmlPage = Resources["ContentLoaderFunctions"].GetXML(params);
Thanks,
Bill Tranmer
