title: Where the KeyStore password and key password stored
body: <p>I used windows and linux machine to create java keystore (JKS) by java keytool. When i run the keytool command mention below:</p>
  
  <p><em>keytool -genkey -alias TESTSSL -dname "cn=Test.com, ou=testlab, o=myorg, c=UK" -keyalg "RSA" -keysize 2048 -keystore TESTSSL.private.jks  -validity 10 -storepass XXXXXXX</em></p>
  
  <p>It prompt to enter <strong>keystore password</strong> and <strong>key password</strong>.</p>
  
  <p>The query is that, I want to know where both passwords are stored and in which form. Is it stored in keystore file or somewhere else in OS(If this is the case, know the exact location). </p>
  
  <p>Any information related to this highly appreciated.</p>