Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/tutorials/ruby-driver-create-client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -878,10 +878,11 @@ on the client or passed to individual operations under ``:write_concern``.
TLS Connections
---------------

To connect to the MongoDB cluster using TLS, pass ``tls`` Ruby or URI option
to the ``Mongo::Client`` constructor. TLS must be explicitly configured on the
client side when the cluster requires TLS connections - there is currently no
automatic detection of whether TLS is required.
To connect to the MongoDB cluster using TLS, pass the ``ssl`` Ruby option or
the ``tls`` URI option to the ``Mongo::Client`` constructor. TLS must be
explicitly requested on the client side when the deployment requires TLS
connections - there is currently no automatic detection of whether the
deployment requires TLS.

The driver will attempt to verify the server's TLS certificate by default, and
will abort the connection if this verification fails. In order for this
Expand Down