To protect data from unauthorized access, some MongoDB data stores require connections
to be authenticated with user credentials
In this documentation, "SSL" refers to both TLS (Transport Layer Security) and
SSL (Secure Sockets Layer). The driver supports
The driver provides a mechanism that enables you to authenticate your connection using the SCRAM-SHA-1 protocol (which MongoDB uses by default), the Kerberos protocol, or the LDAP protocol. The driver also provides limited support for the MONGO-CR protocol, which is deprecated as of MongoDB 3.0. For detailed configuration instructions, see
Additionally, the driver supports the following types of SSL connections:
It is recommended that you enable SSL whenever you connect to a server that is configured to support it. SSL encryption protects data and credentials when they are transferred over the network, and provides stronger security than authentication alone. For detailed configuration instructions, see .