Encrypt a Marketplace Portal Password

To encrypt a password used by the Marketplace Portal:

  1. Open a command prompt and change to the CSA_HOME/portal/bin directory. For example:

    Windows:

    C:\Program Files\HPE\CSA\portal\bin

    Linux:

    /usr/local/hpe/csa/portal/bin

  2. Run the following command:

    Windows:

    ..\..\node.js\node passwordUtil --keyfilePath <keyfile> --password <myPassword>

    Linux:

    passwordUtil --keyfilePath <keyfile> --password <myPassword>

    where <keyfile> is the path to (absolute or relative to the bin directory) and name of the file that contains the Marketplace Portal's encrypted symmetric key (if the file does not exist, it will create the file) and <myPassword> is the password to be encrypted.