Use > JMX Reference > Hardening Methods > How to Set the UpLoadScanFile Password

How to Set the UpLoadScanFile Password

This section explains how to set the password for UpLoadScanFile, used for off-site scan saving. The encrypted password is stored in the DataFlowProbe.properties file. Users must log in to access the JMX console.

  1. Create the Encrypted Form of a Password (AES, 192-bit key)

    1. Access the Data Flow Probe JMX console. On the probe machine, launch a Web browser and enter the following address: https://localhost:8453.

      You may have to log in with a user name and password.

      Note If you have not created a user, use the default user name sysadmin and the password to log in.

    2. Locate the Type=MainProbe service and click the link to open the Operations page.

    3. Locate the getEncryptedKeyPassword operation.

    4. In the Key Password field, enter the password to be encrypted.

    5. Invoke the operation by clicking the getEncryptedKeyPassword button.

      The result of the invocation is an encrypted password string, for example:

      85,-9,-61,11,105,-93,-81,118

  2. Stop the Data Flow Probe

    Start > All Programs > UCMDB > Stop Data Flow Probe

  3. Add the Encrypted Password

    Add the encrypted password to the following property in the C:\UCMDB\DataFlowProbe\conf\DataFlowProbe.properties file.

    com.hp.ucmdb.discovery.Probe.JMX.UploadAuth.Pwd

    For example:

    com.hp.ucmdb.discovery.Probe.JMX.UploadAuth.User=UploadScanFile
    com.hp.ucmdb.discovery.Probe.JMX.UploadAuth.Pwd=116,116,21,34,-59,77,-108,14,127,4,-89,101,-33,-31,116,53

  4. Start the Data Flow Probe

    Start > All Programs > UCMDB > Start Data Flow Probe

    Test the result in a Web browser.