You were redirected from a different version of the documentation. Click here to go back.

Configure MongoDB Agent to Use TLS

On this page


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.


Configure Connections between MongoDB Agent and MongoDB Instances

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.

Configure Connections between MongoDB Agent and Cloud Manager

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