Enabling TLS for the Mongo database on Docker or Podman

Before you begin

Ensure that the following conditions have been satisfied.

Procedure

  1. Locate the local .pem file to use with your Mongo deployment. For more information, refer to the official MongoDB documentation.
  2. Modify your Mongo URL to use TLS. For more information, refer to Setting up TLS for the Mongo database.
  3. Open the docker-compose.yml file in edit mode.
  4. Add the volume mount to the Community section of the YAML file.
    /opt/sametime/cacert.pem:/local/notesdata/cacert.pem
  5. Save the changes.
  6. Restart the server to apply the changes.
    docker-compose down 
    docker-compose up -d