title: TrueLicense java.io.IOException: Invalid keystore format
body: <p>I'm following this tutorial <a href="http://alvinalexander.com/java/true-license-java-software-license-server" rel="nofollow noreferrer">http://alvinalexander.com/java/true-license-java-software-license-server</a> to attempt to set up a license server on my VPS. However for the last while, I've been getting this error <code>java.IO.Exception: Invalid keystore format</code> as displayed below and can't figure out how to fix it.</p>
  
  <p><img src="https://i.stack.imgur.com/wWapa.png" alt="enter image description here"> </p>
  
  <p>Now to be perfectly honest, i don't know much about keystore formats apart from what I've learned in the past few days. The keystore file is name <code>dcPrivateKey.keystore</code> as the examples in the link suggests which contains a password. Does anyone harbour an idea of how to resolve this issue?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>After a suggestion from @parsa porahmad i managed to generate an appropriate <code>.keystore</code> file. However after trying afew different methods such as removing and recreating the <code>.keystore</code> file i am stumped by this error.</p>
  
  <p><img src="https://i.stack.imgur.com/gasMI.png" alt="enter image description here"> </p>