Add password to .p12/.pfx-certificate

With following procedure you can change your password on an .p12/.pfx certificate using openssl.

Export you current certificate to a passwordless pem type:

Convert the passwordless pem to a new pfx file with password:

Now you are done and can use the new mycert2.pfx file with your new password.