Docs Menu
Docs Home
MongoDB Cloud Manager

Configure MongoDB Agent to Use TLS

On this page

  • Prerequisite
  • Procedures

To configure the MongoDB Agent to use TLS, you must:

  • Have the trusted Certificate Authority certificate that signed the MongoDB instance's certificate.

  • Ensure that all TLS certificates contain the Subject Alternative Name field.

To use TLS for the MongoDB Agent's connection to a MongoDB deployment, specify the deployment's TLS settings when adding the deployment or editing the deployment's settings.


Cloud Manager can manage TLS for you if you are using Automation for the deployment. With Automation, Cloud Manager prompts you for the certificates to use to connect to the deployment when you enable TLS and then configures the agents appropriately. To learn how to configure TLS, see Enable TLS for a Deployment.

The MongoDB Agent uses TLS to connect to Cloud Manager without your intervention.


Configure for X.509


Configure How the MongoDB Agent Manages Config Files and Passwords