打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Preparation of using OpenSSL

EnvSetup

  1. Create a working directory called c:\ssl
  2. Create three sub folders named as keys, requests and certs under c:\ssl.
  3. Drop the openssl.conf into the working folder, c:\ssl.
  4. Create an empty database.txt in working directory.
  5. Create the serial number file serial.txt in working directory. This is a plain ASCII file containing the string "01" on the first line, followed by a newline.

Setup aCA

  1. Generate CA‘s private key (rsa, des, 1024b).

                    c:\ssl\openssl genrsa -des3-out keys/ca.key 1024

                    Meanwhile you need to provide a pass phrase for this privatekey.

                    The generated key file is in PEM format ???

  1. Create a CA certificate based on this private key in c:\ssl\certs folder.

                   C:\ssl>openssl req -configopenssl.conf -new -x509 -days 1001 -key keys/ca.key -out certs/ca.cer

                   The ca.cer is also in PEM format.


本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
基于OpenSSL自建CA和颁发SSL证书
日记:在Apache下配置https的实例
nginx配置ssl双向验证 nginx https ssl证书配置
在 FC1 建置可 SSL 安全連線的 Mail Server
使用OpenSSL创建CA和申请证书
What is a "CSR" and how do I get one?
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服