Openssl:直接创建selfsign证书
1.创建key文件openssl ecparam -genkey -out ss.key -name prime256v1完成后可以在当前目录下查看生成了文件ss.key2.创建selfsign证书openssl req -x509 -days 1095 -key ss.key -out selfsign.pem -outform pem -sha256 输入相关信息 You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:CN State or Province Name (full name) [Some-State]:S Locality Name (eg, city) []:H Organization Name (eg, company) [Intern