Skip to content

Enabling TLS for the Mongo database on Docker or Podman

Ensure that the you have read the introductory topic and verified that the TLS connection itself can be established. For more information, refer to Verifying if TLS connection can be established.

  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. Start the Sametime server to apply the changes.

    docker compose up -d
    

Parent Topic: Setting up TLS for the Mongo database