我有.cer和.key文件,我想在C#中生成一个.pfx文件 [英] I have the .cer and .key files and I want to generate one .pfx file in c#
本文介绍了我有.cer和.key文件,我想在C#中生成一个.pfx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好!我需要使用.cer和.key创建一个.pfx文件,还需要为.pfx生成的文件添加一个密码.
有人知道我该怎么做吗?
Thx!
Hello! I need to create a .pfx file using the .cer and .key, also I need to include a password for the .pfx generated file.
Does anyone know how can I accomplish this?
Thx!
推荐答案
这是一个转换器,但是我从来没有尝试过.
https://www.sslshopper.com/ssl-converter.html [
here is a converter, never tried this my self though.
https://www.sslshopper.com/ssl-converter.html[^]
Obs. you need to set "Type To Convert To" to PFX/PKCS#12 before you can select your .cer and .key files
我使用过makecert:
http://msdn.microsoft.com/en-us/library/bfsktky3.aspx [ ^ ]
和pvk2pfx:
http://msdn.microsoft.com/en-us/library/ff550672 (v = vs.85).aspx [
I''ve used makecert:
http://msdn.microsoft.com/en-us/library/bfsktky3.aspx[^]
and pvk2pfx:
http://msdn.microsoft.com/en-us/library/ff550672(v=vs.85).aspx[^]
to go from a .pvk and .cer to a .pfx. They may be able to help you too.
这篇关于我有.cer和.key文件,我想在C#中生成一个.pfx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文