Encrypt or decrypt MID Server configuration file values
On this page
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
<table id=“table_m2t_cv4_nhb”><tbody><tr><td>
indicator for security phase
</td></tr></tbody> </table>## Procedure
-
Navigate to the
agentdirectory that was created when the MID Server was installed and open theconfig.xmlfile using a text editor such as WordPad. -
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"/>
-
Add the encryption attribute secure="true".
<parameter name="mid.proxy.password" secure="true" value="securepassw0rd"/>
-
Restart the MID Server.
-
Open the
config.xmlfile.The encrypted password appears as follows:
<parameter name="mid.proxy.password" secure="true" value="encrypted:rhrfUNYRzZAI8/BkTtZmNA=="/>
.
-
To decrypt this or any other value in the
config.xmlfile and display the value in clear text:-
Stop the MID Server.
-
Set the secure="true" attribute to false.
-
Replace the encrypted value with the clear text value.
-
Restart the MID Server.
-
Parent Topic:Securing and encrypting MID Server data
Related topics
{MID Server certificate check policies}[]
{MID Server configuration file security}[]
{MID Server authentication credentials and SOAP requests}[]
{MID Server unified key store}[]
{Enable MID Server mutual authentication}[]
{MID Server Azure Key Vault integration}[]
{MID Server command audit log}[]
{Rekey a MID Server}[]
{Add SSL certificates for the MID Server}[]
{Specify an external TrustStore for the MID Server}[]
{MID Server SSH cryptographic algorithms}[]
{Attach a script file to a file synchronized MID Server}[]
{MID Server FIPS Enforced Mode}[]
{MID Server Governance}[]
Keep exploring.
Find another answer, or bring this documentation into your own tools.