Enable the MongoDB secured authentication - Fluid Topics - 4.0

Install Fluid Topics on Multiple Servers

Operating system
Debian
Category
Technical Notes
Audience
public
Version
4.0

To enable a secured authentication on the MongoDB database, perform the following steps on the MongoDB server:

  1. Edit the following file:

    /etc/mongod.conf

  2. Add the following lines:

    security:
    authorization: enabled

    Note: Ensure the line is not commented (remove '#') and the indentation is correct.

  3. Restart MongoDB by running the following command:

    As root user

    systemctl restart mongod

Once MongoDB is configured, it is necessary to modify accordingly the following files on the Back Office server, Indexing server, and Front server: