Encrypting the password in the Replication Server configuration file v7
If you need to change the password in the Replication Server configuration file, you must first encrypt the password. Use the encrypt
command of the Replication Server CLI to generate the encrypted form of the password from its plain text form given in an input file.
Create a text file with the password you want to encrypt. Don't leave any white space before or after the password.
The following example shows the text
newpassword
in the input filepassfile
:Use the
edb-repcli.jar
file to execute the Replication Server CLI with theencrypt
command by first including the Java bin directory in yourPATH
environment variable and makingXDB_HOME/bin
your current working directory.For example, assuming
/usr/bin
contains the Java executable program and Replication Server is installed into thePOSTGRES_INSTALL_HOME
directory, perform the following:Copy and paste the encrypted password into the Replication Server configuration file.