Report this

What is the reason for this report?

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

Posted on November 2, 2021
Rajkishore J

By Rajkishore J

Cloud Support Engineer

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?



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.