I'm trying to get to a webservice with the http plugin. The service runs on a server with a security certificate. Therefore I created a script like this:
var httpmsg = plugins.http.createNewHttpClient();
var postmsg = httpmsg.createPostRequest('https://www.someservice.nl/api/etc/ect/request');
postmsg.addHeader('Extra-header', securitykey);
respons = postmsg.executeRequest();
When I do this the respons on this URL is always <null>; while doing it in a browser gives a valid (and logic) respons.
I checked with the http plugin and it seems that roughly 9 out of 10 "https" (not http) url's all give <null> when fired with:
plugins.http.getPageData(url);
Is there an issue with security certificates? I'm sure the certificate on this server I try to reach is a valid one and paid for.
Anyone any suggestions?