Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13603

Elytron client + keystore which retrieve credential from credential store works fine when using OracleJDK and OpenJDK but doesn't work using IBM JDK.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 7.1.0.CR3
    • Security
    • None
    • Hide
      • unpack reproducer.zip
      • change paths in wfly-config.xml to keystore folder
      • copy mgmt-users.properties to your JBOSS_HOME/standalone/configuration
      • run EAP server
      • try to connect through CLI
        ./jboss-cli.sh -c -Dwildfly.config.url=path/to/wfly-config.xml
        
      Show
      unpack reproducer.zip change paths in wfly-config.xml to keystore folder copy mgmt-users.properties to your JBOSS_HOME/standalone/configuration run EAP server try to connect through CLI ./jboss-cli.sh -c -Dwildfly.config.url=path/to/wfly-config.xml

      Elytron client + keystore which retrieve credential from credential store works fine when using OracleJDK and OpenJDK.

      Problem occurs when we use IBM JDK,

      ./jboss-cli.sh -c -Dwildfly.config.url=path/to/wfly-config.xml
      java.lang.ExceptionInInitializerError: org.wildfly.client.config.ConfigXMLParseException: ELY01139: Failed to create credential store
              at file:///home/hsvabek/securityworkspace/VERIFICATION/2017_10_23_PKCS12/reproducer/wfly-config.xml:5:9: ELY01139: Failed to create credential store
              at file:///home/hsvabek/securityworkspace/VERIFICATION/2017_10_23_PKCS12/reproducer/wfly-config.xml:5:9: ELY09514: Unable to initialize credential store: com.sun.crypto.provider.SealedObjectForKeyProtector
      

        1. csibm001.jceks
          2 kB
          Hynek Švábek

            Unassigned Unassigned
            hsvabek_jira Hynek Švábek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: