---
title: "浅谈https\\ssl\\数字证书（4） "
author: "marlay"
date: "2012-03-02T17:51:17Z"
tags: []
categories: ["操作系统"]
slug: "https-ssl-4"
draft: false
lastmod: "2012-03-02T17:51:17Z"
id: 1436633
url: "https://marlay.iteye.com/blog/1436633"
---

[![image](http://upload.chinaz.com/upimg/allimg/101228/1155096.png "image")](http://images.cnblogs.com/cnblogs_com/P_Chou/201012/201012272252486269.png)

 

[![image](http://upload.chinaz.com/upimg/allimg/101228/1155097.png "image")](http://images.cnblogs.com/cnblogs_com/P_Chou/201012/201012272252502201.png)

 

选择同时导出私钥

[![image](http://upload.chinaz.com/upimg/allimg/101228/1155098.png "image")](http://images.cnblogs.com/cnblogs_com/P_Chou/201012/201012272252513181.png)

[![image](http://upload.chinaz.com/upimg/allimg/101228/1155099.png "image")](http://images.cnblogs.com/cnblogs_com/P_Chou/201012/201012272252533332.png)

这里输入的密码在重新安装的时候要输入，所以要comfirm一下。

[![image](http://upload.chinaz.com/upimg/allimg/101228/11550910.png "image")](http://images.cnblogs.com/cnblogs_com/P_Chou/201012/201012272252546788.png)

选择一个文件存放，后缀自动为.pfx

 

[![image](http://upload.chinaz.com/upimg/allimg/101228/11550911.png "image")](http://images.cnblogs.com/cnblogs_com/P_Chou/201012/201012272252548150.png)

对于普通的证书，不能导出含有私钥的.pfx形式，只能导出下面三种格式：

[![image](http://upload.chinaz.com/upimg/allimg/101228/11550912.png "image")](http://images.cnblogs.com/cnblogs_com/P_Chou/201012/201012272252561540.png)

**总结**

本文总结了https/ssl/数字证书的相关基本概念，阐述了ssl协议的实现原理，阐述了数字证书在其中扮演的角色。

劳动果实，转载请注明出处：[http://www.cnblogs.com/P\_Chou/archive/2010/12/27/https-ssl-certification.html](http://www.cnblogs.com/P_Chou/archive/2010/12/27/https-ssl-certification.html)