自签名证书

1生成自签名私有证书

openssl req -new -x509 -newkey rsa:2048 -keyout /path/to/server.key -out /path/to/server.crt

2 生成自签名证书

https://www.jianshu.com/p/81dbcde4fd7c 

 


posted @ 2021-08-06 14:26  meadowhuhu  阅读(85)  评论(0编辑  收藏  举报