如何配置 Crafter CMS social/profile mongo 数据库连接属性?

How do I configure Crafter CMS social/profile mongo db connection properties?

我需要配置 CrafterCMS social/profile 以使用 SSL 连接到 MongoDb。 我应该配置哪些属性来设置 用户名、密码、sslCAFile、sslPEMKeyFile、sslPEMKeyPassword 等 ? 我正在使用 Crafter CMS 2.5

对于社交和个人资料,我们支持 Mongodb 连接 URI 配置详细信息在这里 https://docs.mongodb.com/manual/reference/connection-string/

配置文件的连接属性键:

crafter.profile.mongodb.connection.newConnectionStr 默认为:

mongodb://localhost:27017/crafterprofile?readPreference=primary\ &maxPoolSize=150&minPoolSize=50&maxIdleTimeMS=1000&waitQueueMultiple=200&waitQueueTimeoutMS=1000&w=1&journal=true

对于 社交 属性 关键是: studio.social.mongodb.connection.newConnectionStr 并默认为:

mongodb://localhost:27017/craftersocial?readPreference=primary\ &maxPoolSize=150&minPoolSize=50&maxIdleTimeMS=1000&waitQueueMultiple=200&waitQueueTimeoutMS=1000&w=1&journal=true