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