Warning Regarding Passwords
Most commands operating on a keystore require the store password. Some commands require a private/secret key password.
Passwords can be specified on the command line (in the -storepass and -keypass options, respectively). However, a password should not be specified on a command line or in a script unless it is for testing purposes, or you are on a secure system.
If you don't specify a required password option on a command line, you will be prompted for it.