网站首页
编程语言
数据库
系统相关
其他分享
编程问答
wxx
2024-07-16
自签证书
#!/bin/bash# 生成私钥openssl genpkey -algorithm RSA -out private.key# 生成证书请求openssl req -new -key private.key -out certificate.csr# 自签名证书openssl x509 -req -days 365 -in certificate.csr -signkey private.key -out certificate.c