Question

How to add App platform as trusted source for MongoDB managed 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?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

Hello @toymachiner62 ,

We just flipped the feature of Trusted Sources on MongoDB. You should be able to enable them now.

Hope this helps!

Cheers, Sri Charan