![]() But it had opening line like this -BEGIN PRIVATE KEY- instead of -BEGIN RSA PRIVATE KEY. I was getting this error 803F0100: error : 0308010C: digital envelope routines:inner_evp_generic_fetch:unsupported:crypto\evp\evp_fetch.c:349:Global default library context, Algorithm(cbc) Properties ()Īs suggested by the Stackoverflow post I ran the above command in a different way referring the legacy.dll file as below openssl pkcs12 -in C:\sample.pfx -out C:\sampleOutput.ppk -nodes -nocerts -legacy -provider-path "C:\Program Files\OpenSSL-Win64\bin" -provider default. But this did not work openssl pkcs12 -in C:\sample.pfx -nocerts -nodes -out C:\samplePpk.ppk The general command to generate Private key out of PFX file using OpenSSL. I'm able to generate the private key file but it is not acceptable by the SFTP tools like WinSCP or FileZilla ![]() ![]() Long story short - I'm trying to extract the private key file from a PFX file which is used for SFTP authentication. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |