Highlighted

MongoDB Connection Using x509 Certificates+AEM6.3

bala_prodagy

11-10-2018

Hi ,

We are trying to do MongoDB Connection Using x509 Certificates .We are able to test the connection successfully using mongoclient. But when we configure in AEM it is throwing error.

We have tried all the  below configuration in org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.cfg file. Nothing helped.

config -1

mongouri=mongodb://test_user@test.com:10951/<aem-database-name>?authMechanism=MONGODB-X509&ssl=true&sslPEMKeyFile=/filepath/mongodb.pem&sslPEMKeyPassword=testpassword&sslCAFile=/testpath/sample.com.chain.pem

config - 2

mongo test.com:10951 --ssl --sslPEMKeyFile /filepath/mondoDb/mongodb.pem --sslPEMKeyPassword password --sslCAFile /filepath/mondoDb/test.com.chain.pem --sslAllowInvalidCertificates --verbose

Can someone let us know how to configure(Connection String URI) in org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.cfg file to connect mongoDB using x509 certificates.

Replies

Highlighted

smacdonald2008

12-10-2018

I am not aware of any doc or content that can help you here. If you do not hear from community - open a support ticket.