OpenSSL-RSA 证书的创建

原文地址:http://www.codeweblog.com/openssl-rsa/
OpenSSL-RSA
-私钥生成
openssl genrsa -out prvtkey.pem 1024
-导出公钥
openssl rsa -in prvtkey.pem -out pubkey.pem -pubout
-生成证书申请
openssl req -new -key prvtkey.pem -out cert.csr
-私钥导出证书
openssl req -new -x509 -key prvtkey.pem -out cacert.pem -days 3650
-证书申请导出私钥签名证书
openssl x509 -req -in cert.csr -out cacert-pubkey.pem -outform pem -signkey prvtkey.pem -days 3650
参考文献
http://www.cnblogs.com/AloneSword/p/3809002.html
http://www.cnblogs.com/cerxp/p/3557156.html
http://blog.iamzsx.me/show.html?id=155002
http://blog.csdn.net/allwtg/article/details/4982507 [openssl简介-指令x509]
http://blog.csdn.net/allwtg/article/details/4986031 [常见证书格式转换]

你可能感兴趣的:(https,OpenSSL)