MongoDB 509 Cert

Hi there,

I started setting up the db connection to Mongodb Atlas, with the following settings;

  • (mongodb+srv)
  • correct connection string from mongodb with the connection options
  • Selected "Use SSL/TLS" and uploaded the client key and cert provided by mongo
  • Selected "Skip CA Certificate verification"

On the Mongo Side;

  • Added the retool IPs
  • Gave the user atlas admin privileges to see if that was it

And I get the error: "Command dbStats requires authentication"

Any suggestions? I would prefer to connect with the cert rather than user/pass.

Welcome to the forum @Zach_Burm!

I found some additional documentation from Mongodb that may be helpful. Would you mind sharing a screenshot of your settings in retool and error messages from the Mongodb logs? Thanks! :grin: