Enable the MongoDB secured authentication - Fluid Topics - 3.10

Install Fluid Topics on a Single Server

Operating system
RHEL
Category
Technical Notes
Audience
public
Version
3.10

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

  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: