多种数字证书的格式都可以通过openssl 转化为pem的格式
阿里的帮助文档介绍的很不错,就是有些命令过时了
https://help.aliyun.com/knowledge_detail/40526.html?spm=5176.2000002.0.0.7a539951R44Df4
转载:https://blog.csdn.net/weixin_30531261/article/details/80891360
在用pkcs8生成私钥的时候要输入openssl进入openssl的shell,不然会找不到pkcs8这个命令。