If you enter a -keysize that is larger than 128, you may get a message saying that JCE Unlimited Strength Jurisdiction Policy Files needs to be installed. See the Oracle product documentation for further information about this.
The -storepass flag is optional. If you do not enter a -storepass you will be prompted for a password.
-storetype JCEKS is mandatory.
You will be prompted if you want to use the same password for the key as for the keystore and requires the system requires that the same password is used.
Place the keystore in a suitable directory.
Encrypt the password to the keystore using the mzsh encryptpassword command with the default key: