Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Encrypt or decrypt MID Server configuration file values

Log in to subscribe to topics and get notified when content changes.

Encrypt or decrypt MID Server configuration file values

The value of any MID Server parameter in the config.xml file can be encrypted. The attributes for all encrypted values are managed from within the configuration file, including the security attribute of the login password.

Before you begin

Role required: admin

Procedure

  1. Navigate to the agent directory that was created when the MID Server was installed and open the config.xml file using a text editor such as WordPad.
  2. Locate or add the parameter you want to encrypt.
    For example, you might want to protect your proxy server passwords by configuring this parameter:
    <parameter name="mid.proxy.password" value="securepassw0rd"/>
  3. Add the encryption attribute secure="true".
    <parameter name="mid.proxy.password" secure="true" value="securepassw0rd"/>
  4. Restart the MID Server.
  5. Open the config.xml file
    The encrypted password appears as follows:
    <parameter name="mid.proxy.password" secure="true" value="encrypted:rhrfUNYRzZAI8/BkTtZmNA=="/>
    .
  6. To decrypt this or any other value in the config.xml file and allow the value to appear in clear text:
    1. Stop the MID Server.
    2. Set the secure="true" attribute to false.
    3. Replace the encrypted value with the clear text value.
    4. Restart the MID Server.
Feedback