📅  最后修改于: 2022-03-11 14:45:01.497000             🧑  作者: Mango
$ openssl genrsa -out server.key 2048
$ openssl ecparam -genkey -name secp384r1 -out server.key
$ openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650