Enabling TLS for the Mongo database on Docker or Podman
Before you begin
- You have read the introductory topic.
- You have verified that the TLS connection itself can be established. For more information, refer to Verifying if TLS connection can be established.
Procedure
- Locate the local .pem file to use with your Mongo deployment. For more information, refer to the official MongoDB documentation.
- Modify your Mongo URL to use TLS. For more information, refer to Setting up TLS for the Mongo database.
- Open the docker-compose.yml file in edit mode.
-
Add the volume mount to the Community section of the YAML
file.
/opt/sametime/cacert.pem:/local/notesdata/cacert.pem
- Save the changes.
-
Start the Sametime server to apply the changes.
docker compose up -d