Configuration of the BEST Web Server
Introduction
This manual describes the configuration of the server-side components of the GBS BEST Server.
The configuration procedure should be done only after the installation step. For more information, consult the GBS Apps Installation Manual.
Configuration
The configuration steps are:
Configure Tomcat;
Configure the Certificates;
Generate the encrypted password;
Finalize the configurations in the config.properties file.
All steps are described below. An example of the file config.properties can be seen in the section Configuration File Example.
Tomcat Configuration
Edit Tomcat's configuration file to configure the certificates and the port the application will use.
vi /var/lib/tomcats/best/conf/server.xmlTo change the port, search for connector port=. This is the port for backend operations.
Certificates Configuration
To enable SSL authentication, search for connector port= in the file /conf/server.xml.
There are two entries. The commented one is the configuration for SSL. Remove the comment delimiters <!-- and -->, then adjust the following parameters:
The parameter port must be the desired network port for the application.
Change the path of the keystoreFile and the truststoreFile to the appropriate values. Do the same for the keystorePass and the truststorePass.
The parameter clientAuth="true" will require server authentication to the client and client authentication to the server. This means the client will need to import the certificate into the browser to be able to access the application.
Database Password Encryption
In the file config.properties, the parameter jdbc.password is an encrypted password. To generate the encrypted password, follow these steps:
Go to the following directory:
Run the command:
The encrypted password will appear after the message: "Encrypted password is:"
Label Search Filter
Some BEST configurations can be made through the databases, such as the labels for the search filter. This configuration is a list of labels that the user can select in the fragment search configuration to restrict the candidate list.
To configure the desired labels, you need to include the labels in the line search.labels in the table sphinx.settings. Note that labels must be separated by commas.
These labels will be visible to all BEST users.
Application Configuration File
To configure the file, open it with:
The most important changes in this file are the parameters jdbc.url, jdbc.username, jdbc.password and gbds.url. Configure them according to your environment.
The complete configuration file is shown in the section Configuration File Example
Case Segregation Label
It is possible to segregate the cases that a user sees in the software. To do this, you need to add a permission in the LDAP settings.
Inside a user group in LDAP, add the label in the format best_org_{label}, e.g. best_org__MG. New cases created by users in this group will have this label and the case will be visible only to users with the correct permissions to view cases with this label.
Use of multiple nodes
BEST can be used on more than one server node. To allow this, the master server must have the setting poolingUL.active is set to true, and other nodes must have it set to false.
BEST Settings
The last step is to configure the IP and port of the application that the end user will access. It must be the same IP and port configured in the section Tomcat Configuration.
Finishing the Configurations
After completing all configuration steps, return to the GBS Apps Installation Manual - Configuration Section.
Configuration File Example
This section shows an example of the file config.properties.
Last updated
Was this helpful?

