Mac verify error: invalid password? when trying to convert .pfx to .pem

opensslpkcs#12

New to openssl, did a google but couldn't find any solution for the following error. I have installed openssl on windows machine and I trying to convert .pfx to .crt/.pem/.key but i keep getting mac verify error: invalid password? error.

Trying to use certificate so i can install on apache server.

Any help? thank you.

Best Answer

I experienced the "mac verify error: invalid password" error too. But after I put the password in the command line like this, it works for me:

openssl pkcs12 -in path.p12 -out myoutput.pem -nocerts -nodes -password pass:<mypassword>