Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Export and Decryption of the ECtrans Associations from the existing ECaccess Gateway.
  • Encryption and Import of the ECtrans Associations into the new ECaccess Gateway.

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.

Each step can be automated by using the scripts:

  • decrypt.sh
  • encrypt.sh

In order to follow the procedure please first download these two scripts and place them respectively 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.

Step 1

Go to the "bin" directory of your existing Gateway :

#cd gateway/bin

Make sure the Gateway and make sure it is not running:

#./gateway stop

Then start the export/decryption of the ECtrans Associations:

#./decrypt.sh

Once If the script has completed the file complete successfully, a file named "uncrypted-assoc.sql" has been created is created in the current directory with the ECtrans Associations in clear text.

...