1、下载OpenVPN(该工具可适用于windws),安装。

2、运行mycert.exe工具,填写相应的信息。点击Create Request.会在你指定的output文件夹(最好指定当前mycert.exe目录,这样生成的时候不需要指定目录)下面生成xx.key和xx.req文件。

3、运行openssl.exe。输入:req -new -x509 -key private-rsa.key -days xx天数 -out public-rsa.cer。其中(private-rsa.key是上一步生成的文件,这里需要输入你运行mycert.exe时候的信息)

4、继续执行pkcs12 -export -name test-alias -in public-rsa.cer -inkey private-rsa.key -out 99bill-rsa.pfx.(public-rsa.cer为上一步生成。)。

posted on 2013-11-18 18:01  心道合一  阅读(186)  评论(0编辑  收藏  举报