localhost启动https的方式

本地启动一个服务,默认是http的,若是咱们须要某些https的场景(好比说绕过url白名单代理或者是使用一些api特性)时,则能够本身生成证书来完成这些工做。node 这里以http-server做为静态服务器来展现。git 首先生成证书:github openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pe
相关文章
相关标签/搜索