Question

How to add App platform as trusted source for MongoDB managed database

Posted November 2, 2021 216 views
MongoDBDigitalOcean App PlatformDigitalOcean Managed MongoDB Database

Hi,

I am not able to add my app as the trusted source for the MongoDB managed database.

Also how to set up MongoDB ca-certificate with the App platform?

Any help on this?

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi,

Currently, with MongoDB-managed databases; it will be necessary to not have any trusted sources enabled. This would be necessary to be able to have your app connect to MongoDB. We understand this isn’t ideal and we hope to have this addressed soon.

You will have to connect the Mongo DB on a public network, without any restrictions imposed on it.

And, there is a similar question which we have addressed in our Community regarding How to set up MongoDB Managed Database (with cert) with App Platform, which can provide you with more information and guidance.

https://www.digitalocean.com/community/questions/how-to-set-up-mongodb-managed-database-with-cert-with-app-platform

I hope this helps.

Regards,
Rajkishore