Chapter 49. Securing passwords with a keystore
You can use a keystore to encrypt passwords that are used for communication between Business Central and KIE Server. You should encrypt both controller and KIE Server passwords. If Business Central and KIE Server are deployed to different application servers, then both application servers should use the keystore.
Use Java Cryptography Extension KeyStore (JCEKS) for your keystore because it supports symmetric keys.
If KIE Server is not configured with JCEKS, KIE Server passwords are stored in system properties in plain text form.
- KIE Server is installed in IBM WebSphere Application Server.
A KIE Server user with the
kie-serverrole has been created, as described in Section 46.1, “Creating the KIE Server group and role”.
- Java 8 or higher is installed.
- Create a JCEKS keystore.
- When prompted, enter the password for the KIE Server user that you created.
Set the system properties listed in the following table:
Table 49.1. System properties used to load a KIE Server JCEKS
System property Placeholder Description
URL for the JCEKS that you want to use, for example
Password for the JCEKS
Alias of the key for REST services where the password is stored
Password of the alias for REST services with the stored password
Alias of the key for default REST Process Automation Controller where the password is stored
Password of the alias for default REST Process Automation Controller with the stored password
- Start KIE Server to verify the configuration.