Supporting ssl configurations over aws doc db cluster

Hello guys,
I am unable to connect to aws doc db cluster via ssl when dockerizing the image, although I mount the source code and provide the path of ssl ca file in database.js .seems not loading properly.

fs = require(‘fs’);

// Read the certificate authority
var ca = [fs.readFileSync("/srv/app/rds-combined-ca-bundle.pem")];

Could you please help me on this


Can you clarify this, I’m not sure what DB you are referencing?

@DMehaffy I am referring aws document database ,which is written using mongo engine Amazon DocumentDB (with MongoDB compatibility)

Technically we don’t support that database (much like we don’t support the CosmosDB from Azure/Microsoft) as they aren’t entirely MongoDB and largely are proprietary/likely don’t always function as MongoDB would.