Existing Installations

If you are using an older version of the local license server, which provides access to the truststore file using a “client” configuration file, you can do either of the following:

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

Update the “client” Configuration File

To update the “client” configuration file

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

truststore.path=path-to-client-certificate 
truststore.password=password 

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

HTTPS_CLIENT_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_CLIENT_FILE= #empty, can replace by -https-client-configuration path 

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

Transferring HTTPS Values from “client” Configuration File to YAML File

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

 

“client” Configuration File Content

local-configuration.yaml File Content

truststore.path=path-to-client-certificate

truststore.password=password

https-out:

  # Set to true to enable

  enabled: true

  # Path to truststore containing server certificate.
  truststore-path: path-to-your-truststore

  # Truststore password. You can obfuscate this with   java -jar flexnetls.jar -password your-password-here
  truststore-password: your-password-here

  # Switch off if you're having host validation   problems (not recommended)
  host-verify: true

  # Set to true if you're using self-signed   certificates (not recommended)
  self-signed: false