简体   繁体   English

有没有办法将个人证书,中间根和受信任的根封装在可移植文件中?

[英]Is there a way to encapsulate personal certificate, intermediate root and trusted root in a portable file?

Is there a way to encapsulate a personal certificate, intermediate root and trusted root in a pfx file for use in ac# program for SSL/TLS x509 encyrption? 有没有一种方法可以将个人证书,中间根和受信任根封装在pfx文件中,以用于ac#程序中的SSL / TLS x509加密?

I was given a file to install in the "Trusted Root", a file to install in the "Intermediate Root" and a file to install int he "Personal" certificate area. 给了我一个要安装在“受信任的根”中的文件,一个要安装在“中间根”中的文件,以及一个要在“个人”证书区域中安装的文件。 Then I have to load the certificate and add it to a web service call. 然后,我必须加载证书并将其添加到Web服务调用中。

For deployment purposes, is there a way to include everything needed in one pfx or p7b file? 为了进行部署,是否有一种方法可以将所需的所有内容都包含在一个pfx或p7b文件中?

A PFX / P12 file can contain the server certificate, the intermediates and the private key so you can use it to store the keying material for your ssl/tls connection PFX / P12文件可以包含服务器证书,中间件和私钥,因此您可以使用它来存储ssl / tls连接的密钥材料

P7B can contain only certificates but not private keys, so it is not suitable P7B只能包含证书,不能包含私钥,因此不适合

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 判断证书是个人证书还是根证书的编程方式 - Programmatic way to tell if Certificate is a Personal or Root Certificate 如何通过C#代码获取中间证书和受信任的根证书的到期日期? - How can I get the expiration date of an intermediate certificate and trusted root certificate by C# code? 为什么我的根证书不可信? - Why's My Root Certificate Not Trusted? 如何将证书添加到受信任的根证书 - How can adding certificate to the trusted root certificates 如何在 Azure AppService 中将该根证书作为受信任的根导入? - How to import that root certificate as trusted root in Azure AppService? 区分根 CA 和中间 CA 证书 - Distinguish between Root CA and Intermediate CA Certificate 识别证书是主机证书、中间证书还是根证书 - Idenitfy if certificate is a host, intermediate, or root cert 如何检测目标域的伪造可信个人/根SSL证书 - How to detect fake trusted personal/root SSL certificates of target domain 如何在C#中将证书添加到根受信任证书但没有警报窗口 - How to add a certificate to the root trusted certificate but no alert window in C# 将证书导入到根颁发机构,但仍然无法建立信任关系 - Imported certificate to root authorities, but still can't establish trusted relationship
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM