Jquery – net::ERR_INSECURE_RESPONSE while making ajax request from node-webkit


when I'm trying to make ajax request with jquery to:


I get this error:


I'm using self signed certificate, in package.json I have these parameters:

"chromium-args": "--ignore-certificate-errors --auth-schemes='basic --auth-server-whitelist='*localhost:8443' --auth-negotiate-delegate-whitelist='*localhost:8443'''",

does anybody know how I can add self signed certificates to node-webkit's truststore !?

OS: ubuntu 14.10

Best Solution

The problem here is that the browser is blocking the call to that server because that server has an invalid certificate. Since it is a localhost server, it is a self-signed certificate. The best way to get around this is to try one of the following...