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

Elytron Tool Vault Conversion Gives Incorrect Output for Custom Name/Location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER2
    • 7.1.0.ER1
    • Security
    • None

      When doing a vault conversion to a credential store using the WildFly Elytron tool, if you specify a custom name or location for the new credential store, the output from the script is incorrect. The store is created as expected with the correct name and location.

      e.g. using the command:

      ./elytron-tool.sh vault --keystore ../vaults/vault.keystore --keystore-password vault22 --enc-dir ../vaults/ --salt 1234abcd --iteration 120 --alias my_vault --properties "location=../cred_stores/my_vault_converted.cred_store"
      

      produces the output:

      Vault (enc-dir="../vaults/";keystore="../vaults/vault.keystore") converted to credential store "../vaults/converted-vault.cr-store"
      

      The store is created as expected with the correct name in the specified location (../cred_stores/my_vault_converted.cred_store), and nothing is generated in the location mentioned in the output.

      The output of the script should be fixed to be accurate for the provided properties.

              fjuma1@redhat.com Farah Juma
              lcosti.redhat Lucas Costi (Inactive)
              Hynek Švábek Hynek Švábek (Inactive)
              Hynek Švábek Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: