当我尝试使用jquery发出ajax请求时:
https://localhost:8443/uri
我收到此错误:
net::ERR_INSECURE_RESPONSE
我正在使用自签名证书,在package.json中,我有以下参数:
"chromium-args": "--ignore-certificate-errors --auth-schemes='basic --auth-server-whitelist='*localhost:8443' --auth-negotiate-delegate-whitelist='*localhost:8443'''",
有谁知道我如何将自签名证书添加到node-webkit的truststore!?
作业系统:ubuntu 14.10
这里的问题是浏览器阻止了对该服务器的调用,因为该服务器具有无效的证书。由于它是本地主机服务器,因此它是自签名证书。解决此问题的最佳方法是尝试以下方法之一...
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句