.cer&有什么区别? pfx文件 [英] what is the difference between .cer & pfx file

查看:83
本文介绍了.cer&有什么区别? pfx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

人们通常说-

cer-以X.509标准格式存储的证书。该证书包含有关证书所有者的信息...以及公共和私有密钥。

cer - certificate stored in the X.509 standard format. This certificate contains information about the certificate's owner... along with public and private keys.

pfx-表示个人交换格式。它用于在单个文件中交换公共和私有对象。可以从.cer文件创建pfx文件。也可以用来创建软件发行商证书。

pfx - stands for personal exchange format. It is used to exchange public and private objects in a single file. A pfx file can be created from .cer file. Can also be used to create a Software Publisher Certificate.

**从此链接获得了引用 **

** got ref from this link What is the difference between a cer, pvk, and pfx file? **

,但是没有人说何时应该使用CERT文件以及何时应该使用PFX文件。如果可能的话,请讨论我们应该何时使用CERT文件的情况。什么时候应该去找PFX文件。

but nobody is saying when we should use CERT file and when we should use PFX file. If possible please discuss the situation when we should go for CERT file & when we should go for PFX file. Thanks.

推荐答案

.pfx包含相关证书的公钥和私钥(切勿在组织外部共享);它可用于网站上的TLS / SSL,对消息或授权令牌进行数字签名,或用于对伙伴系统进行身份验证。 .cer文件仅具有公共密钥(这是您通常与集成合作伙伴交换的密钥);它可以用来验证令牌或客户端身份验证请求,它是HTTP客户端通过SSL握手从服务器接收到的内容。

A .pfx includes both the public and private key for the associated certificate (NEVER share this outside your organization); it can be used for TLS/SSL on web site, for digitally signing messages or authorization tokens, or for authenticating to a partner system. A .cer file only has the public key (this is what you typically exchange with integration partners); it can be used to verify tokens or client authentication requests, and it is what is received by an HTTP client from a server in the SSL handshake.

这篇关于.cer&有什么区别? pfx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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