Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6835

Vault.sh misleading output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 11.0.0.Beta1
    • None
    • Security
    • None

      Vault.sh advise to insert vault xml snippet as follows:

      Vault Configuration in AS7 config file:
      ********************************************
      ...
      </extensions>
      <vault>
        <vault-option name="KEYSTORE_URL" value="EAP_HOME/vault/vault.keystore"/>
        <vault-option name="KEYSTORE_PASSWORD" value="MASK-5dOaAVafCSd"/>
        <vault-option name="KEYSTORE_ALIAS" value="vault"/>
        <vault-option name="SALT" value="1234abcd"/>
        <vault-option name="ITERATION_COUNT" value="120"/>
        <vault-option name="ENC_FILE_DIR" value="EAP_HOME/vault/"/>
      </vault><management> ...
      ********************************************
      

      1. User can insert this snippet on wrong place. See forum link for example. Pobably CLI command would be more suitable?

      /core-service=vault:add(vault-options=[("KEYSTORE_URL" => "PATH_TO_KEYSTORE"),("KEYSTORE_PASSWORD" => "MASKED_PASSWORD"),("KEYSTORE_ALIAS" => "ALIAS"),("SALT" => "SALT"),("ITERATION_COUNT" => "ITERATION_COUNT"),("ENC_FILE_DIR" => "ENC_FILE_DIR")])
      

      2. There is still reference to AS7

              rstancel@redhat.com Radovan Stancel
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: