Encrypting the configuration XML files

The passwords and information stored in the import and export configuration XML files are in plain text and thus visible to users who can log in to the system. After you edit and save the configuration file, you can encrypt the file to protect the information it contains.

About this task

To encrypt the file, you use the nzcodec.jar file with special command arguments.

Procedure

On a Hadoop node where the data movement feature is installed, you can encrypt an XML configuration file using a command similar to the following:
./fdm.sh -encryptConfig -conf /tmp/test_password.xml 
Fast Data Movement version: 1.0.0.0 [Build 171212-31]
Encrypting configuration file.
Configuration file not modified.
Encryption is done.