小编Via*_*hin的帖子

SDK工具的证书(makecert,pvk2pfx)

我需要制作两个证书:CA sert和Server证书.

我用这个命令.

makecert -r -pe -n "CN=CACert" -a sha1 -sky signature -cy authority -sv CACert.pvk CACert.cer

certutil -addstore Root TGCA.cer

makecert -pe -n "CN=ServerCert" -a sha1 -sky exchange -ic CACert.cer -iv CACert.pvk -sv ServerCert.pvk ServerCert.cer

pvk2pfx -pvk ServerCert.pvk -spc ServerCert.cer -pfx ServerCert.pfx
Run Code Online (Sandbox Code Playgroud)

然后我将ServerCert.pfx导入证书存储.

为什么他们不在存储中包含私钥?

certificate pfx makecert

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

certificate ×1

makecert ×1

pfx ×1