Configuration File
There are a number of settings that can be used by JCM administrator to make rarely needed changes.
The settings do not exist in GUI and are stored in configuration file - application.properties, it is located in JCM program folder.
After making any change in the configuration file, you need to restart JCM Server to apply the change.
The following settings can be changed in configuration file:
server.url |
Change IP address of the JCM Server |
server.session.timeout |
Session timeout in seconds. After this period of inactivity, JCM Console will be logged out. |
allow.add.delete.companies |
Set it to TRUE if several companies should be managed. |
support.mac |
Set it to TRUE if MAC clients should be managed |
server.port |
Change the default port number 9443 to another one. |
jcm.strong.password |
Use this setting to enable/disable forcing strong passwords for JCM Console accounts. |
jcm.password.expiration |
Allows selecting when JCM console passwords expire and have to be renewed (in months). Default: 3; If you don't want the passwords to expire, set this value to 0. |
mysql.password:root |
Type your MySQL password here |
How to encrypt configuration file
Configuration file contains several passwords, and it may be considered as secret information. So the program allows to encrypt the passwords as follows:
- Stop JCM Server.
- Create text file with the name 'password.txt' and copy these strings from the configuration file:
- mysql.password:root
- server.ssl.key-store-password: secret
- server.ssl.key-password: password
- server.ssl.trust-store-password=cacertspassword
- Type the real passwords in the file, save the file and put it to the program directory.
- In 'application.properties' file - type fake passwords or delete these strings, save the file.
- Open Command Prompt as administrator, navigate to the program folder and run the command:
java -jar crypter.jar encrypt password.txt password.enc
You will be asked to enter the password to encrypt the file.
- After the passwords are encrypted, start the server by the command:
java -jar server.jar
You will be asked to enter the password.
After encrypting the passwords, the server can be started only with the command line. Jetico Server Monitor won't be able to start the server anymore.
The command to decrypt the passwords back:
java -jar crypter.jar decrypt password.enc password.txt
Created with the Personal Edition of HelpNDoc: Streamline Your Documentation Process with HelpNDoc's Intuitive Interface