passedbylove

场景:

本地调试https/wss程序,使用了openssl自签名的证书,解决方法:添加到信任证书

根据以下图片流程操作

  

 

 

 

 

然后 打开selfsigned.cer

 

 

 

 清空该网站缓存

 

 

 

参考资料:

https://superuser.com/questions/1083766/how-do-i-deal-with-neterr-cert-authority-invalid-in-chrome

https://github.com/lynckia/licode/issues/1149

更新:

按照以上方法,后来本地浏览器 Chrome 76又报错 Subject Alternative Name missing

按照网上的方法改 chrome://flags/#allow-insecure-localhost ,仍旧不能解决问题。

 

 

 

参考来源:

https://global.v2ex.com/t/365406

 

笔者最终使用mkcert生成本地自签名证书添加到信任证书访问,重开了一篇文章

https本地自签名证书添加到信任证书访问 大家可以移步访问

分类:

技术点:

相关文章:

  • 2021-09-20
  • 2022-12-23
  • 2021-07-21
  • 2021-10-14
  • 2021-09-19
  • 2021-05-31
  • 2021-10-10
  • 2021-08-14
猜你喜欢
  • 2022-01-02
  • 2021-12-07
  • 2021-11-01
  • 2021-11-04
  • 2022-12-23
  • 2022-03-03
相关资源
相似解决方案