Logging On
Automatic Logon to FAOPGP CLS
When you run scripts you need to be logged on to CLS so that CLS has access to the keys in the keystore. When running CLS on a server, rather than manually from the desktop, there will be operational reasons why the server has to be restarted automatically and the keystore administrator is not present. (This is typically the case for unattended operations.) To support this situation you can configure CLS to logon to the keystore automatically when a script is run so that scripts can run unattended.
To do this select the 'Auto login'
checkbox in the command editor. This box is automatically checked by default. The keystore password is stored as part of the script in encrypted format and when a script is run an automatic logon occurs and the keystore is made available to CLS.
If you do not use the command editor to generate scripts but type the parameters into a batch file manually then you can use the parameter "-passfile" which must be followed by a path to a file which contains the keystore password on the first line. This parameter is not supported by the command editor and is less secure since your keystore password is displayed in the clear.
If neither of these auto login options are specified in a script file then the login dialog box will be displayed prompting a user to logon.
If the password entered on the command line is wrong (you might have changed password since you created a script) then an error message will be displayed on the control console and after pressing OK the program will exit. It is therefore advisable (especially if you have used the -passfile option) that you test the system manually on the command line to make sure you have entered the correct password before transferring it to the operational environment.
IMPORTANT NOTE : Please bear in mind that if the keystore password is changed at a later stage then you must re-edit all existing scripts that refer to the old password so that they have access to the new password. To do this you should uncheck and recheck the 'Auto login' checkbox in the command editor for each script (if you have used the -autologin option) or edit the file that contains the password (if you have used the -passfile option).