title: generate SSL keystore and private key for jboss6
body: <p>I want to make my own SSL certificate in-order to be used in a web application. When I try to generate the keystore I get this error. I inserted my own new password to it. Is there anything specific to put as password?</p>
  
  <p><em><strong>windows commandline</em></strong></p>
  
  <pre><code>C:\jboss6\server\default\conf&gt;keytool -genkey -alias jbosskey -keypass change_this -keyalg RSA -keystore server.keystore
  Enter keystore password:
  </code></pre>
  
  <p><em><strong>error which is displayed</em></strong></p>
  
  <pre><code>keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
  </code></pre>