To enable a secured authentication on the MongoDB database, perform the following steps on the MongoDB server:
- Edit the following file:
- Add the following lines:
Note: Ensure the line is not commented (remove '#') and the indentation is correct.
- 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: