Click here to Skip to main content
15,917,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!
Posted
Comments
Kschuler 29-Aug-11 16:25pm    
Are you trying to do this in code? Or are you just trying to create the .pfx so you can use it to publish some other code?

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
 
Share this answer
 
v3
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900