Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Dear,

I have Windows Server 2016 and I'm using OpenSSL to extract .key from .pfx but unfortunately, I'm facing an error.

Quote:
Error outputting keys and certificates
002F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto\evp\evp_fetch.c:355:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()


Please help me to resolve this issue.

thanks

What I have tried:

I have tried installing the latest node.js but no luck.
Posted
Updated 27-Feb-24 4:30am
Comments
0x01AA 27-Feb-24 14:43pm    
And how I can vote a 5 for that? ;p :-)

1 solution

did you try this?

openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key]


it worked for me and a few of my PFX files with private keys within. you just have to type in the passwords you used to create the PFX to extract the .crt and/or .key file

reference:
IBM Documentation[^]
 
Share this answer
 
v2

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