XMLHttpRequest: Network Error 0x800c0019, Security
certificate required to access this resource is invalid
我已经找到解决方案了。首先,我为本地域创建了一个根证书,并将其添加为受信任的根证书。证书签名请求是通过我在第一步中创建的根 SSL 证书发出的。我跟着这个不错的博客可以解决这个问题 https://medium.freecodecamp.org/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec。您可以查看我的存储库,其中我也包含了 Windows 系统的说明。
生成证书的脚本https://github.com/sandeepp2016/local-cert-generator https://github.com/sandeepp2016/local-cert-generator
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)