生成本地证书供开发测试https服务

生成本地https证书供开发使用

生成key

bash 复制代码
openssl genrsa -out server.key 2048

生成证书

bash 复制代码
openssl req -new -sha256 -x509 -days 365 -key server.key -out server.crt

数字365表示证书有效期天数

然后按照步骤填写信息(测试环境下可随意填写或者为空也可以,域名建议填写)

相关推荐
天宇&嘘月2 小时前
Nginx的https搭建
网络·nginx·https
rainmanqqst2 小时前
C#Netcore支持Https
网络协议·http·https·c#
8***848210 小时前
Nginx代理到https地址忽略证书验证配置
运维·nginx·https
a***113512 小时前
用nginx正向代理https网站
运维·nginx·https
ILL11IIL12 小时前
nginx的https的搭建
网络协议·http·https
2501_9151063212 小时前
iOS 抓不到包怎么办?从 HTTPS 代理排查到 TCP 数据流捕获的全链路解决方案
android·tcp/ip·ios·小程序·https·uni-app·iphone
游戏开发爱好者812 小时前
APP上架苹果应用商店经验教训与注意事项
android·ios·小程序·https·uni-app·iphone·webview
我不是张鸭鸭15 小时前
nginx的https的搭建
运维·nginx·https
2501_9160074715 小时前
苹果应用商店上架的系统逻辑,从产品开发到使用 开心上架 上架IPA 交付审核流程
android·ios·小程序·https·uni-app·iphone·webview
2501_9160088916 小时前
Python抓包HTTPS详解:Wireshark、Fiddler、Charles等工具使用教程
python·ios·小程序·https·uni-app·wireshark·iphone