http-server 支持 HTTPS 服务

来源 [https://www.jianshu.com/p/8d641e1a85da/]

 鼠标右键,打开“Git Bash Here": 

 执行这个:openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
posted @ 2021-04-29 20:23  山村码农  阅读(296)  评论(0编辑  收藏  举报