Php mongodb地图册-rockmongo

Php mongodb地图册-rockmongo,php,mongodb,rockmongo,Php,Mongodb,Rockmongo,我在通过rockmongo连接atlas(mongodb)时遇到了巨大的问题 这是我的配置 $MONGO["servers"][$i]["mongo_options"] = array("replicaSet" => "LuxeMassage-shard-0"); $MONGO["servers"][$i]["mongo_name"] = "LuxeMassage Cluster";//mongo server name $MONGO["servers"][$i]["mongo_host"

我在通过rockmongo连接atlas(mongodb)时遇到了巨大的问题

这是我的配置

$MONGO["servers"][$i]["mongo_options"] = array("replicaSet" => "LuxeMassage-shard-0");
$MONGO["servers"][$i]["mongo_name"] = "LuxeMassage Cluster";//mongo server name
$MONGO["servers"][$i]["mongo_host"] = "mongodb://luxemassage-shard-00-00-0kahc.mongodb.net:27017,luxemassage-shard-00-01-0kahc.mongodb.net:27017,luxemassage-shard-00-02-0kahc.mongodb.net:27017/admin?replicaSet=LuxeMassage-shard-0";//mongo host
$MONGO["servers"][$i]["mongo_port"] = "27017";//mongo port
$MONGO["servers"][$i]["mongo_timeout"] = 0;//mongo connection timeout
//$MONGO["servers"][$i]["mongo_db"] = "MONGO_DATABASE";//default mongo db to connect, works only if mongo_auth=false
//$MONGO["servers"][$i]["mongo_user"] = "MONGO_USERNAME";//mongo authentication user name, works only if mongo_auth=false
//$MONGO["servers"][$i]["mongo_pass"] = "MONGO_PASSWORD";//mongo authentication password, works only if mongo_auth=false
$MONGO["servers"][$i]["mongo_auth"] = true;//enable mongo authentication?

$MONGO["servers"][$i]["control_auth"] = false;//enable control users, works only if mongo_auth=false
//$MONGO["servers"][$i]["control_users"]["admin"] = "admin";//one of control users ["USERNAME"]=PASSWORD, works only if mongo_auth=false

$MONGO["servers"][$i]["ui_only_dbs"] = "";//databases to display
$MONGO["servers"][$i]["ui_hide_dbs"] = "";//databases to hide
$MONGO["servers"][$i]["ui_hide_collections"] = "";//collections to hide
$MONGO["servers"][$i]["ui_hide_system_collections"] = false;//whether hide the system collections
我已经允许IP地址被列入白名单,所以我可以通过ssh终端进行连接。因此,与atlas的连接是有效的,但当我通过rockmongoo尝试mongodb atlas时,会出现错误

Unable to connect MongoDB, please check your configurations. MongoDB said:No candidate servers found.

根本原因是缺少对RockMongo客户端的SSL支持。Atlas建议使用另一个webclient

我该怎么做,因为mongodb建议我不要再使用rockmongo,因为它不支持sslI,所以他们没有发布更新。看来这还是不可能的。我也已更正了上述答案。