https 生成key和crt文件
https://www.jianshu.com/p/3d743fca1fd6
https://blog.csdn.net/shenzhan168/article/details/47783651
https://blog.csdn.net/yannanxiu/article/details/70670225
生成私钥,按照提示填写内容
openssl genrsa -des3 -out server.key 1024
生成csr文件 ,按照提示填写内容
openssl req -new -key server.key -out server.csr
Remove Passphrase from key
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key
生成crt文件,有效期1年(365天)
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt