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

I need to configure CrafterCMS social / profile to connect to MongoDb using SSL. What properties should be configured to set the username, password, sslCAFile, sslPEMKeyFile, sslPEMKeyPassword, etc. ? I am using Crafter CMS 2.5

+7
mongodb content-management-system crafter-cms
source share
1 answer

For Social and Profile, we support Mongodb Connection URI configuration here https://docs.mongodb.com/manual/reference/connection-string/

Connection property key for Profile :

crafter.profile.mongodb.connection.newConnectionStr , which by default:

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

For the Social property: studio.social.mongodb.connection.newConnectionStr and default:

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

+7
source share

All Articles