JavaEar 专注于收集分享传播有价值的技术资料 BKS not found

I am new to SSL certification generation, I have generated the SSL certification of type BKS. but during the Jboss starting i am getting the exception: -saying " BKS not found". The below are the steps i am doing to create the keystore file.

keytool -genkey -alias abcd -keystore C:/abcd.keystore -storepass abcd -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath c:/bcpkix-jdk15on-147.jar

I am using JBoss 4.2.3 GA.

Please help me out to resolve this issue.

Thank You, Pruthvi


  1. Error "BKS not found" would mean that its looking for an alias named BKS. Can you pass on the actual error and also the details of the ssl connector definition (server.xml) ?

  2. 参考答案2
  3. Make sure you follow these steps
  4. 参考答案3
  5. You can try to add the provider into the file as described in Different types of keystore in Java -- BKS


    N means the provider index in the provider list.