Where i can get mongod-keyfile,issues with config file

Hi,

1.How do get the mongod-keyfile for replication on windows server with community version?
2.When i tried to use config file ,faced error as below,

C:\Users\MAHESH>mongod --config C:\data\27018\mongod.cfg --logpath C:\data\27018\log\mongod.log
Error parsing YAML config file: yaml-cpp: error at line 8, column 10: illegal map value
try ‘mongod --help’ for more information

mongod.cfg:

systemLog:
destination: file
path: C:\data\27018\log\mongod.log
logAppend: true

storage:
dbpath: C:\data\27018\data
journal:
enabled: true

net:
bindIp: 127.0.0.1
port: 27018
replication:
replSetName: REPL

Thanks,
Mahesh E

Please ignore the issue with config file,i have addressed it.

Hi @Mahesh_Eligedi,

Please refer to the steps mentioned in the documentation below:

Please let me know, if you have any questions.

Thanks,
Sonali