生成本地ssl签名工具:mkcert

下载地址

https://github.com/FiloSottile/mkcert/releases

使用方法

// 安装证书
mkcert -install

// 生成证书
mkcert 域名 [IP]