📅  最后修改于: 2022-03-11 14:57:03.385000             🧑  作者: Mango
openssl req -new > cert.csr
openssl rsa -in privkey.pem -out key.pem
openssl x509 -in cert.csr -out cert.pem -req -signkey key.pem -days 1001
cat key.pem>>cert.pem