Configure MongoDB Agent to Use TLS
On this page
- OAuth 2.0 authentication for programmatic access to Cloud Manager is available as a Preview feature.
- The feature and the corresponding documentation might change at any time during the Preview period. To use OAuth 2.0 authentication, create a service account to use in your requests to the Cloud Manager Public API.
Prerequisite
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.
Procedures
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.
Note
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.