...
Because each Gateway has its own private-key for encryption it is required to decrypt and re-encrypt the ECtrans Associations with the relevant private-key.
In order Before to follow the procedure, please first download the following files and copy them in the mentioned directories:
- update.jar: in both "bin" directories of the existing and new Gateway.
- decrypt.sh: in the "bin" directory of the existing Gateway.
- encrypt.sh: in the "bin" directory of the new Gateway.
Also, on the new ECaccess Gateway, make sure the "gateway/db" directory is original (the one from the distribution) and remove any "private-key.keystore" from the "gateway/conf" directory. This is important to allow a smooth execution of the procedure.
Step 1
Go to the "bin" directory of your existing Gateway and make sure it is not running:
...
Step 2
On the new Gateway, make sure the "gateway/db" directory is original (the one from the distribution - unmodified). Please also make sure to remove the "private-key.keystore" from the conf directory.sure
Then go to the "bin" directory of the new Gateway:
#cd gateway/bin
Make sure it is not running:
...