ssl自签名证书_使用自签名的ssl证书设置本地开发服务器
Since iOS 13, Apple has made it so that if a web page to the or API in the , the site will need to for it. In to that, the site must also be over HTTPS, .
从iOS 13开始,Apple做出了这样的决定:如果网页需要访问浏览器中的或 API,则该网站将需要为此获得权限。 除此之外,该站点还必须通过HTTPS提供服务,包括 。
, even if is , for a use case for local of a that uses the above API, which is a local on a to a then a web page from the from one’s to the same , it won’t work (and it ’t).
但是,即使豁免了 ,对于使用上述API的网站的本地开发的典型用例,该API也在连接到网络的计算机上运行本地服务器,然后从该服务器访问由该服务器提供的网页移动设备连接到同一网络,它将无法正常工作(并且可能不应该)。
I’m here the few that I have for this issue. It is by no means the best or the most ideal but it is . I’m also only on Node.js based and a . For a full stack I will write a up .
我在这里记录了克服此问题的一些设置。 它绝不是最好或最理想的,但希望它是有用的。 我也只关注基于Node.js的解决方案和前端项目。 对于全栈项目,我将撰写后续文章。