MongoDB.live, free & fully virtual. June 9th - 10th. Register Now MongoDB.live, free & fully virtual. June 9th - 10th. Register Now

"Is a directory" message when specifying keyfile path

when i try to generate ssl keyfile for replSet authentication after specifying the path of the keyfile
a message that goes like “Is a directory” shows up with the path I’ve already specified

how to fix this ?

1 Like

The path you have given for the keyfile is a directory.
Rename the directory or rename the keyfile.