Docs Menu

Connect to a TLS/SSL-Enabled Data Source

On this page

  • Connect over TLS/SSL without Client Certificate Validation
  • Connect over TLS/SSL with Client Certificate Validation/x.509

This document explains how to connect to a TLS/SSL-enabled MongoDB deployment as a data source. This document also demonstrates connecting to a deployment using x.509 client authentication.

Note

A full description of TLS/SSL, PKI certificates, and Certificate Authority is beyond the scope of this document. This page assumes prior knowledge of TLS/SSL as well as access to valid certificates.

You can configure the MongoDB Charts client to connect to data sources with TLS/SSL enabled. If the deployment is running with TLS/SSL enabled, configuring your data source depends on whether the deployment's certificate is:

  • Signed by a trusted root certificate authority, or
  • Self-signed or issued by an internal certificate authority.
Note

MongoDB deployments should use TLS/SSL 1.1 or later.

Select the appropriate tab based on how the deployment's certificate is signed:

Use this procedure if the MongoDB deployment you wish to use for your data source requires Client Certificate Validation.

The process to configure your data source depends on whether the deployment's certificate is:

  • Signed by a trusted root certificate authority, or
  • Self-signed or issued by an internal certificate authority.
Note

MongoDB deployments should use TLS/SSL 1.1 or later.

Select the appropriate tab based on how the deployment's certificate is signed:

Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.