为什么我不能导出导入为可导出的证书?

在Windows 2008上,我使用OpenSSL生成自签名证书openssl.cfg文件为空):

openssl.exe req -x509 -config openssl.cfg -days 10950 -subj "/CN=ComputerName/OU=Organization/ST=OR/C=US/" -newkey rsa:2048 -keyout private.pem -out public.pem -nodes openssl.exe pkcs12 -export -in public.pem -nodes -inkey private.pem -name "Self-Signed SSL Certificate" -out ssl.cer -passout pass: 

然后使用“证书”pipe理单元将证书导入到个人存储中。 当我导入它时,我选中“将此键标记为可导出”。 但是,当我尝试导出证书时,“是,导出私钥”选项呈灰色,并且在对话框中有一个注释,指出“注意:无法find相关的私钥”。

为什么我不能导出我的证书?

事实certificate,我没有以pipe理员身份运行证书pipe理单元。 即使我在pipe理员组中,我必须右键单击MMC,然后select“以pipe理员身份运行”。