Administer > Service Portal Administration Guide > Encrypt a Password - Service Portal User Accounts

Encrypt a Password - Service Portal User Accounts

To encrypt a password for Service Portal user accounts:

  1. Log in to the Service Portal host as root and navigate to the $PROPEL_HOME/cryptoUtil directory.
  2. Determine a new password for the user account: New_Password
  3. Encrypt the password by running the following command:

    # $JAVA_HOME/bin/java –jar cryptoUtil-cli-1.0.4.jar encrypt <New_Password>

    Note: Some user accounts, such as orgadmin, require that values are also specified for the account roles and the account status. For example, the default password, roles, and status values for orgadmin are:
    propel,IDM_ADMIN,CATALOG_ADMIN,AGGREGATION_ADMIN,CONSUMER,SUPPORT,
    SUBSCRIPTION_ADMIN,SUPPLIER_ADMIN,ROLE_REST,enabled
  4. The java command in step 3 returns encrypted text for the specified password. Use the encrypted text returned in step 3 to replace the user account’s password information to the right of the equal sign ("=") in the corresponding file.

    The encrypted value is preceded by ENC without any separating spaces and is enclosed in parentheses. Ensure there is no blank space at the end of the value. For example, to use the encrypted text as a replacement for the password value for the orgadmin user in the
    consumer-users.properties file.

    orgadmin=ENC(<Encrypted_Text>)

    Where <Encrypted_Text> is the encrypted text returned from the java command in step 3.