Chapter 3 Internal Authentication - config file

I believe I did the syntax for config file correctly…but its says unrecognized option. What am I doing wrong ( for some reason , I cant upload the jpeg screenshot. throws error that you cant embed media in the post…anyway) below is the error.

keyfile: /var/mongodb/pki/node1/keyfile

user@M150# mongod -f mongod_1.conf
Unrecognized option: security.keyfile
try ‘mongod --help’ for more information

Most like simply because it is keyFile rather than keyfile. Always check with the documentation. See

Ahhh. My bad. Thanks for catching it quickly.