Keystore
The encryption key must be generated and stored in a keystore. To achieve this, the following steps must be followed:
Open a terminal window and change directory to where the script file resides.
For Windows: Type encrypt-paybylink.bat –k [<keystore
name> <properties file>]
.
For example, encrypt-paybylink.bat –k
For Linux: Type encrypt-paybylink.sh –k [<keystore
name> <properties file>]
.
For Example, ./sudo encrypt-paybylink.sh –k
Keystore file will be generated and stored in the data directory.
If the keystore name and the properties file names are not specified,
then the default values (paybylink.keystore, paybylink.properties
) will be used.
Note:
When creating the data directory for the keystore, access to the folder is restricted automatically. Therefore, the same user account as will be used to run the application should be used during this process. Use of the administrator account at this point may lead to the folder being inaccessible to the EFTLink application at runtime.