[jboss-jira] [JBoss JIRA] (ELY-1047) CS tool, meaningless error msg when I create credential store storage file under OracleJDK and access to it under IBMJDK.

Hynek Švábek (JIRA) issues at jboss.org
Fri Mar 31 04:42:01 EDT 2017


Hynek Švábek created ELY-1047:
---------------------------------

             Summary: CS tool, meaningless error msg when I create credential store storage file under OracleJDK and access to it under IBMJDK.
                 Key: ELY-1047
                 URL: https://issues.jboss.org/browse/ELY-1047
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse


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)
{code}
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
{code}

Try to list aliases with IBMJDK
{code}
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
{code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list