Configuring LTPA in Docker or Podman

This topic includes the steps to configure LTPA keys on Docker.

Before you begin

You must have already created a secret that contains your LPTA keys before you can compete this task. For more information on using WebSphere Liberty to generate LTPA keys, see Generating LTPA keys.
If LTPA was not selected during the install process, you must add it to the configuration file to use LTPA authentication. Edit the configuration file and verify that Ltpa is included on the following line. If not, add it before continuing with configuring LTPA steps.
STI_ST_BB_NAMES_ST_AUTH_TOKEN=Fork:Jwt, Ltpa
Note: There are two double underscores after STI and NAMES.

Procedure

  1. Update the .env file to reflect the following attributes and values.
    
    ENABLE_LTPA=true
    LTPA_KEYS_FILE_PATH=key_file_path
    LTPA_KEYS=/ltpa-config/ltpa.keys
    LTPA_KEYS_PASSWORD=liberty_server_password
    The value for key_file_path must be the absolute path to the file. For example, if keys are in the ltpa.key file and in the /opt/hcl/sametime directory.
     LTPA_KEYS_FILE_PATH=/opt/hcl/sametime/ltpa.keys
  2. Update the custom.env file to include the following.
    STI_ST_BB_NAMES_ST_AUTH_TOKEN=Fork:Jwt,Ltpa
  3. Update the docker-compose.yml file to include the following.
    SAMETIME_EXTERNAL_WARINTEGRATION=true