With following procedure you can create a .p12/.pfx certificate with a *.crt (CA) and a *.key (Key file) file.
openssl pkcs12 -export -in ca.crt -inkey keyfile.key -out out.p12
some foobar
With following procedure you can create a .p12/.pfx certificate with a *.crt (CA) and a *.key (Key file) file.
openssl pkcs12 -export -in ca.crt -inkey keyfile.key -out out.p12
With following procedure you can change your password on an .p12/.pfx certificate using openssl.
Export you current certificate to a passwordless pem type:
openssl pkcs12 -in mycert.pfx/mycert.p12 -out tmpmycert.pem -nodes Enter Import Password: <Enter no password> MAC verified OK
Convert the passwordless pem to a new pfx file with password:
openssl pkcs12 -export -out mycert2.pfx/mycert2.p12 -in tmpmycert.pem Enter Export Password: <Enter password here> Verifying - Enter Export Password: <Enter password here>
Now you are done and can use the new mycert2.pfx file with your new password.
[via]http://stackoverflow.com/a/35158695[/via]