«

自签名证书更新 生成 CA key cert

学长 发布于 阅读:487 Linux


pvecm updatecerts -f


参考自

https://forum.proxmox.com/threads/restore-self-signed-ssl-and-ca-for-node.96800/

因为我想用证书做vless vmess trojan之类的。。。


不如自己用openssl生成

先生成key

openssl ecparam -genkey -name prime256v1 -noout -out ca.key

再生成cert

openssl req -new -x509 -days 3650 -key ca.key -out ca.crt -subj "/C=US/O=DigiCert Inc. /CN=DigiCert Local Root CA"


用的是这个docker

https://hub.docker.com/r/teddysun/trojan

config中指到正确路径


扫描二维码,在手机上阅读