Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1047

CS tool, meaningless error msg when I create credential store storage file under OracleJDK and access to it under IBMJDK.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Credential Store
    • None

      When I create credential store storage file under OracleJDK or OpenJDK and then I want to access to it under IBMJDK I get meaningless error message about this.

      I expect some error message about that you must use to access same JDK as was used for creation storage file.

      How to reproduce
      Create credential store storage file with OracleJDK (or openJDK)

      java -jar wildfly-elytron-tool.jar credential-store --add moje --secret asdfasdf --location="PATH/TO/store01.jceks" --uri "cr-store://store01.jceks?modifiable=true;create=true;keyStoreType=JCEKS" --password=pass123 --summary
      

      Try to list aliases with IBMJDK

      java -jar wildfly-elytron-tool.jar credential-store --aliases --location="/PATH/TO/store01.jceks" --uri "cr-store://store01.jceks?modifiable=true;create=true;keyStoreType=JCEKS" --password=pass123 --summary
      ELY09526: Unable to initialize credential store
      

              rhn-support-ivassile Ilia Vassilev
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: