I have started a three member replica set that uses X.509 certificates for internal authentication following the instructions.
But when I connect using mongo shell to any one of the ports to initiate the replica, I got error stating
MongoDB Enterprise > use admin
switched to db admin
MongoDB Enterprise > rs.initiate()
“info2” : “no configuration specified. Using a default configuration for the set”,
“me” : “database:31130”,
“ok” : 1
Both rs.status() and rs.isMaster() show that there is only one member in the replica set.
I can’t not add more members.