Why do I need a Password for my KeyStore and TrustStore files?
Your private key should be treated like a credit card number. Anyone with your private key can act like you, so it critical to securing your system. These are stored in the KeyStore file, and so this file is password protected. The TrustStore file lists the certificates for everyone your system trusts. You don’t want anyone other than yourself from dinking with this list. So, this file is password protected as well.