Is there a way to bypass security for an expired certificate when making an Https post request in Javascript? I have been successful in doing this with C# and Java, but unsure about how to proceed in JavaScript.
function post()
{
var xmlhttp;
xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST","https://something.com:8443/trigger",true);
xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
xmlhttp.send("code=6644&workflow.reponame=test");
}