Use > JMX Reference > Hardening Methods > How to Set Shared Key for Encrypting or Decrypting the InfrastructureSettings.xml File Using JMX

How to Set Shared Key for Encrypting or Decrypting the InfrastructureSettings.xml File Using JMX

UCMDB administrators can set a shared key for encrypting or decrypting the InfrastructureSettings.xml file on the UCMDB Server side or the Data Flow Probe/Integration Service side by using the setSharedKey JMX method.

Once you have set a shared key on the server side, make sure you set the same shared key on the Data Flow Probe/Integration Service side as well. This ensures that the Data Flow Probe/Integration Service can properly decrypt the InfrastructureSettings.xml file.

To set a shared key on the UCMDB Server side,

  1. On the UCMDB server, launch the Web browser and enter the following address: http://localhost:8443/jmx-console.
  2. Click UCMDB:service=Discovery Manager to open the JMX MBEAN View page.
  3. Click the setSharedKey method.
  4. Enter a new value in the Value field for the shared key.

  5. Click Invoke.

To set a shared key on the Data Flow Probe/Integration Service side,

  1. Access the Data Flow Probe/Integration Service 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.

  2. Locate the Probe_<Probe Name> type=MainProbe service and click the link to open the JMX MBEAN View page.

  3. Click the setSharedKey method.
  4. In the Value field, enter the same value you provided on the UCMDB Server side for the shared key.

  5. Click Invoke.

Note If the Data Flow Probe is running in separate mode, make sure you set the shared key on both probeManager and probeGateway.