Secure the MongoDB Connection - Fluid Topics - 3.8

Install Fluid Topics on Multiple Servers

Product
Fluid Topics
FT_Version
3.8
Platform
RHEL
Category
Technical Notes
language
English

It is possible to authenticate through Scram-Sha-1 method.

It is important to authenticate to MongoDB databases as they contain critical user-related data.

  1. Edit the following file:

    As antidot user

    /usr/local/afs7/Fluid-Topics/conf/-/mongo.conf.json

  2. Add the following lines to the file:

    As antidot user

    {
    "hosts": [
    ...
    ],
    "authentication": {
    "scramSha1": {
    "username": "$USER_NAME",
    "password": "$PASSWORD",
    "database": "$DATABASE"
    }
    }
    }

If $PASSWORD contains special characters, then it must be encoded in accordance with the following nomenclature: https://www.w3schools.com/tags/ref_urlencode.asp

For more information on the Mongo authentication mechanism, consult the official documentation.