Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2405

Credential store file isn't created when we add there new entry in embed-server mode.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta29
    • None
    • Security
    • None

      Credential store file isn't created when we add there new entry in embed-server mode.

      • ./bin/jboss-cli.sh
      • embed-server
      • /subsystem=elytron/credential-store=store001:add(uri="cr-store://test/store001.jceks?create=true", credential-reference= {clear-text=pass123}

        )

      • /subsystem=elytron/credential-store=store001/alias=alias001:add(secret-value=secretValue)

      store001.jceks file should be created in JBOSS_HOME directory, but it doesn't.

      When I stop embedded server and start standalone server everything work fine.

      • stop-embedded-server
      • ./bin/standalone.sh
      • connect
      • /subsystem=elytron/credential-store=store001/alias=alias001:add(secret-value=secretValue)

      store001.jceks file is correctly created in JBOSS_HOME directory.

      NOTE:
      When I copy there store001.jceks file to JBOSS_HOME directory with same password to access as expected then entry is added correctly.

              darran.lofthouse@redhat.com Darran Lofthouse
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: