Command Line Reference Guide
50 vFoglight
Command-Line Reference Guide
• foglight.database.password stores the password of the external database.
•
foglight.database.embedded.password stores the password of the
embedded database.
By default, the installation process encrypts the database password at installation time
using an encryption key. vFoglight stores the value of the encryption key in the
foglight.defaultkey entry of the <vfoglight_home>/config/mstkey.properties file.
To change the database password, issue the
keyman command with the encpwd option
to encrypt a password string using
foglight.defaultkey, and then use the output of
that command to replace the value of the
foglight.database.password or
foglight.database.embedded.password entry in <vfoglight_home>/config/
foglight.config as required. For example:
1
Open a Command Prompt window.
2
In the Command Prompt, navigate to the <vfoglight_home>/bin directory.
3
Issue the keyman command with the encpwd option to encrypt a password string.
For example:
C:\Vizioncore\vFoglight\bin>keyman encpwd
my_new_password foglight.defaultkey
Encrypted Password: q40799f927b44ba22192f3a4fa2f1cc91
4
Open the <vfoglight_home>/config/foglight.config file for editing.
5
In the foglight.config file, replace the value of the appropriate entry
(
foglight.database.password for external database or
foglight.database.embedded.password for embedded database) with the
output that you generated in step 3.
Caution You must enclose the generated value in double quotes.
6
Save and close the foglight.config file.
Syntax
keyman [chmstkey old_key new_key]
[addappkey key_name key_text key_pwd] [delappkey key_name]
[encpwd pwd_str key_name] [getapptkn key_name key_pwd]










