I keep getting the below error while running the .sh file provided in my command line. I don’t know what i am doing wrong
Hey @Nazehs
You will have to set the correct permission on the key file
Run
chmod 400 /path/to/key/file
and try again
Here is some docs to help
https://docs.mongodb.com/manual/tutorial/deploy-replica-set-with-keyfile-access-control/index.html#create-a-keyfile
1 Like