“访问该资源所需的证书无效". [英] "Certificate required to access this resource is invalid"

查看:847
本文介绍了“访问该资源所需的证书无效".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XMLHttpRequest:网络错误0x800c0019,安全性 访问该资源所需的证书无效

XMLHttpRequest: Network Error 0x800c0019, Security certificate required to access this resource is invalid

推荐答案

我已经找到了解决方案.首先,我为本地域创建了一个根证书,并将其添加为受信任的根证书.证书签名请求是通过我在第一步中创建的根SSL证书发出的.我遵循了

I have got the solution. First I created a root certificate for the local domain and added it as the trusted root certificate. A certificate signing request is issued via the root SSL certificate I created in the first step. I followed This nice blog to resolve the problem. You can check my repository where I have included instruction for the Windows system too.

用于生成证书的脚本 https://github.com/sandeepp2016/local-cert-generator

这篇关于“访问该资源所需的证书无效".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆