I can't start the conversion pem to p12/pfx

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
kRel
OpenVpn Newbie
Posts: 3
Joined: Mon Jun 03, 2019 2:12 pm

I can't start the conversion pem to p12/pfx

Post by kRel » Wed Nov 10, 2021 5:41 pm

Hi . . .

Even today I keep the command line to convert pem certificates to P12. Having windows I used Win64 OpenSSL v3.0.0 Light. A year ago or more the command line worked perfectly, but now it doesn't work anymore. Without my having changed anything . . .

My cmdline is :
OpenSSL> pkcs12 -export -in D:\TEST\cert.pem -inkey D:\TEST\privkey.pem -out D:\TEST\certificate.pfx
I set the environment variable for the start.bat file which starts openSSL and it didn't work. I also copied the certificates to the Win64 OpenSSL v3.0.0 Light folder, but even so it didn't work. To try to solve it I also installed cygwin but I can't use it.

Can you help me understand where I'm wrong please?

Otherwise to use OpenVPN you have to use linux, but professionally I can't and I don't have time to learn a new OS ...

Cheers . . .

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: I can't start the conversion pem to p12/pfx

Post by TinCanTech » Thu Nov 11, 2021 7:32 pm


Post Reply