Configuring SSL (TLS) for a zRule Execution Server for z/OS using a Java keystore

Using a Java keystore is the default option to configure SSL. This default setting uses self-signed certificates so it must be changed to be used in a production environment.

About this task

When the zRule Execution Server for z/OS® running in CONSOLE, TEST, or HTDS mode first starts, it verifies that security is enabled and that the HBRSECUREPORT runtime variable is set. If both of these conditions are true, a Java keystore with a self-signed certificate is generated.

A self-signed certificate might be fine for a development environment but for production you must follow the procedure to change the SSL configuration. A correctly configured keystore with valid certificates must be used when running in production.

Procedure

  1. When the zRule Execution Server for z/OS starts in a supported mode for the first time, it creates the following file: ++HBRWORKPATH++/servers/<SSID>/sslJava.xml

    Edit this file to change the configuration.

  2. Follow the instructions at Liberty:SSL configuration attributes and Creating SSL certificates from the command line to customize the sslJava.xml file.
  3. Restart the zRule Execution Server for z/OS in CONSOLE mode to pickup your changes. The sslJava.xml file is not overwritten and any changes you made in step 2 are persisted.

Results

You have configured the zRule Execution Server for z/OS in CONSOLE mode to have a valid SSL Java keystore.

See also: Enabling SSL communication in Liberty