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

There is wrong default *relative-to* path for CredentialStore, is set to folder from which we started EAP server.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • None
    • Security
    • None

      There is set wrong default relative-to path for CredentialStore.
      Default relative-to path is set to folder from which we started EAP server.

      e.g.:

      • cd EAP_FOLDER
      • ./bin/standalone.sh
      • relative-to is se to EAP_FOLDER
        or
      • cd EAP_FODER/bin
      • ./standalone.sh
      • relative-to is se to EAP_FOLDER/bin

      How to reproduce

      /subsystem=elytron/credential-store=cs007:add(uri="cr-store://test/keystorecs007.jceks?create=true", credential-reference= {clear-text=pass123})
      
      /subsystem=elytron/credential-store=cs007/alias=newCs007:add(secret-value=Elytron)
      

      Now you can see in EAP_FOLDER (it can be different, see above) keystorecs007.jceks file.

      I would expect this file in data directory of server.

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

                Created:
                Updated:
                Resolved: