Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

MongoDB Connection Using x509 Certificates+AEM6.3

bala_prodagy
Level 1
Level 1

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.

1 Reply
smacdonald2008
Level 10
Level 10

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.