connect to https REST API
Hello,
I have a thing which has multiple services that call REST API's.
Script is:
var url = 'https://url_to_api/api/controller/Action?param1=' + INPUT1 + '&userName=' + User;
var params = {
url: url /* STRING */,
};
var result = Resources["ContentLoaderFunctions"].GetText(params);
the url used to be HTTP and everything worked great.
Now the url is https and when I test my service I get the following error:
Wrapped javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Does anybody know what I have to do to get this working.

