Existing Installations

If you are using an existing installation of the local license server, which provides access to the “server” certificate using a “server” configuration file, you can do either of the following:

Update the existing “server” configuration file to use the new values. See Update the “server” Configuration File.
Transfer the HTTPS values from the “client” configuration file to local-configuration.yaml. See Transferring HTTPS Values from “server” Configuration File to YAML.

Update the “server” Configuration File

To update the “server” configuration file

1. Update the following values in the existing “server” configuration file:

keystore.path=path-to-server-certificate

keystore.password=password

https.port=1443

2. If required, use the appropriate step to tell the license server where the “server” configuration file is located:
In Windows, edit the flexnetls.settings file to include this option to set the path to the configuration file:

HTTPS_SERVER_CONFIG=path-to-configuration-file 

In Linux, edit following variable in the /etc/default/flexnetls-producer_name file, replacing the comment with the path to the configuration file:

HTTPS_SERVER_FILE= #empty, can replace by -https-server-configuration path 

See Editing the Local Settings Post-Installation in the Getting Started section for complete instructions on editing the local settings file.

Transferring HTTPS Values from “server” Configuration File to YAML

Instead of using the “server” configuration file, you can use the https-in setting in local-configuration.yaml. The following table shows how to transfer the values from the “server” configuration file to local-configuration.yaml. Note that the settings keystore-path and keystore-password in local-configuration.yaml use a hyphen instead of a dot.

 

“client” Configuration File Content

local-configuration.yaml File Content

keystore.path=path-to-server-certificate

keystore.password=password

https.port=1443

https-in:

  # Set to true to enable

  enabled: true

  # HTTPS listening port

port: 1443

  # Path to keystore

keystore-path: path-to-your-keystore

  # Keystore password. You can obfuscate this with
  java -jar flexnetls.jar -password your-password-here

keystore-password: your-password-here