I need to configure CrafterCMS social/profile to connect to a MongoDb using SSL. What properties should I configure to set username, password, sslCAFile, sslPEMKeyFile,sslPEMKeyPassword, etc ? I'm using Crafter CMS 2.5
1 Answers
For both Social and Profile we support Mongodb Connection URI configuration detail here https://docs.mongodb.com/manual/reference/connection-string/
The connection property key for Profile:
crafter.profile.mongodb.connection.newConnectionStr
which defaults to:
mongodb://localhost:27017/crafterprofile?readPreference=primary\ &maxPoolSize=150&minPoolSize=50&maxIdleTimeMS=1000&waitQueueMultiple=200&waitQueueTimeoutMS=1000&w=1&journal=true
For Social property key is:
studio.social.mongodb.connection.newConnectionStr
and defaults to:
mongodb://localhost:27017/craftersocial?readPreference=primary\
&maxPoolSize=150&minPoolSize=50&maxIdleTimeMS=1000&waitQueueMultiple=200&waitQueueTimeoutMS=1000&w=1&journal=true

- 839
- 4
- 7
-
2What about properties in /profile|social/extension/mongo.properties file? Should I remove that? – Jonnathan Mendez May 24 '17 at 16:39
-
3No for 2.5.x and 3.0 external property file are name crafter/profile/extension/server-config.properties and crafter/social/extension/social.propertie – Cortiz May 24 '17 at 16:40