I am trying to read a json file with in javascript with the json url as https protocol. I am able to read the json file with http as url using HttpClientRequest, but get the below error while trying to access the https Url using the same javascript code. Can you please help me understand the same.
Below the javascript code
var jsonURL = 'https://***********.json'
logInfo('URL:' + jsonURL);
var http = new HttpClientRequest(jsonURL);
http.execute();
logInfo('Body' +http.response.body.toString());
logInfo('Parsing ...');
obj = JSON.parse(http.response.body.toString());
logInfo('Parsed : ' + obj[0].day);
I encounter this error
Error in SSL library: 'error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (code 336032784)'