Configuring SAML on Docker
Before you begin
About this task
The steps in the following procedure must be completed with root access or you can use sudo which allows you to run commands as root.
Procedure
- Change directories to the root directory where the Sametime installation package was decompressed.
-
Create a file with the name saml.env.
vi saml.env
-
Add the following lines to the saml.env file.
STI__Config__STSAML_TRUST_STORE_TYPE=p12 STI__Config__STSAML_TRUST_STORE_FILE=/local/notesdata/samltruststore.p12 STI__Config__STSAML_TRUST_STORE_PASSWORD=samltruststorepass
-
Open the docker-compose.yml file for editing. Locate the
env_file: parameter in the file and move
custom.env to a new line. Add
saml.env to the next line after
custom.env.
env_file: - custom.env - saml.env
-
Add a path to the SAML trust store.
- If you do not have a volumes section in the docker-compose.yml file, create one under the networks section and add the following line to the section.
- If you already have a volumes section, add the following line to the section.
- ./samltruststore.p12:/local/notesdata/samltruststore.p12
The section should look like the following example. Ensure that the indentations look like the example.networks: - sametime.test volumes: - ./samltruststore.p12:/local/notesdata/samltruststore.p12
-
Restart the server to apply the changes.
docker-compose down docker-compose up -d