如何使用.pfx和.cer文件创建自签名证书? [英] How to create a self-signed certificate with .pfx and .cer files?

查看:715
本文介绍了如何使用.pfx和.cer文件创建自签名证书?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IIS 7.5 Windows Server 2008中,如何使用.pfx(包含私钥)和.cer(包含公钥)文件创建自签名证书?

In IIS 7.5 Windows Server 2008, How to create a self-signed certificate with .pfx (containing the private key) and .cer (containing the public key) files?

我使用了这条准则: http:// technet.microsoft.com/en-us/library/cc753127(v=ws.10).aspx

我在IIS中创建了证书。当我导出它时,它只导出.pfx文件,而不是.cer文件。

and I created the certificate in IIS. When I export it, it only exports the .pfx file, not the .cer file.

谢谢,

推荐答案

在IIS中创建自签名证书后:

Once the self-signed certificate is created in IIS:


  1. 在IIS下选择您的证书服务器证书。

  2. 点击查看。

  3. 选择详情选项卡。

  4. 点击复制到文件按钮。

  5. 按照证书导出向导中的说明创建X.509(.CER)证书。

  1. Select your certificate in IIS under Server Certificates.
  2. Click on View.
  3. Select the Detail tab.
  4. Click the "Copy to File" button.
  5. Follow instructions in Certificate Export Wizard to create an X.509 (.CER) certificate.

这篇关于如何使用.pfx和.cer文件创建自签名证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆