加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-server-2008 – 为什么我不能导出我导出为可导出的证书

发布时间:2020-12-13 22:50:06 所属栏目:Windows 来源:网络整理
导读:在 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 -nodesopen
在 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:

然后,我使用“证书”管理单元将证书导入到个人存储中.当我导入它时,我检查“将此密钥标记为可导出”.但是,当我尝试导出证书时,“是,导出私钥”选项显示为灰色,对话框上有一个注释,上面写着“注意:无法找到关联的私钥”.

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

事实证明我没有以管理员身份运行“证书”管理单元.即使我在Administrators组中,我也必须右键单击MMC,然后选择“以管理员身份运行”.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读