Error While Generating .bks file
<p>I am using <strong>wso2-emm 2.0.1</strong> with ubuntu x64 system. While configuring the product I am getting one error in genrating <code>.bks</code> file for android agent certificate.</p>

<p>I've used this cmd:</p>

<pre><code>keytool -noprompt -import -v -trustcacerts -alias 'openssl x509 -inform PEM -subject_hash -noout -in ca_cert.pem' -file ca_cert.pem -keystore emm_truststore.bks -storetype BKS -providerclass org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath bcprov-jdk16-146.jar -storepass 'wso2carbon'
</code></pre>

<p>And the correspoding errror is :</p>

<blockquote>
  <p>keytool error: java.io.IOException: Wrong version of key store.<br>
  java.io.IOException: Wrong version of key store.<br>
  at org.bouncycastle.jce.provider.JDKKeyStore.engineLoad(Unknown Source)</p>
</blockquote>

<p>Thanks in advance </p>