title: Keystore password is too short - must be at least 6 characters for import
body: <p>I wanted to use <a href="https://stackoverflow.com/a/7094044/384674">https://stackoverflow.com/a/7094044/384674</a> for importing pem into p12, but keystore password is 5 characters and keytool is complaining it needs to be 6 :-/</p>
  
  <pre><code>keytool -import -alias alias -keystore ./trust.p12 -storetype PKCS12 -file new.pem
  Enter keystore password:
  Keystore password is too short - must be at least 6 characters
  </code></pre>
  
  <p><strong>edit:</strong></p>
  
  <p>There was a comment, this is not working in some of later versions of keytool but comment was removed, please be aware or let us know as I do not know version I was testing with.</p>