1 Reply Latest reply on Feb 25, 2003 11:12 AM by sebi

    java.io.IOException:Invalid keystore format

    sameer

      using following commands i could generate phony self-signed certificate. File name is phonycert.keystore.

      keytool -genkey -keyalg DSA -alias phony -dname "CN=mindprod.com, OU=testing, O=Canadian Mind Products, L=Victoria, S=BC, C=CA"

      keytool -selfcert -alias phony

      keytool -export -alias phony -rfc -file phonycert.cer

      This i placed in the C:\JBoss3.0\server\default\conf.

      i updated tomcat4-service.xml file with following information





      phonycert.keystore
      rmi+ssl


      i got the error "java.io.IOException:Invalid keystore format".

      Please tell me whats wrong with this and what i should do.

      Thanx

      - sameer

        • 1. Re: java.io.IOException:Invalid keystore format
          sebi

          Hi Sameer,

          What keystore password and what private key password did you use while creating the new keystore and self signed cert?

          As far as I remember they have to be the same in the current JBoss 3.0.x implementation and you defined them to be rmi+ssl in your current configuration.

          Sebastian