@@ -146,8 +146,8 @@ You can reference your certificates in the following ways:
146
146
147
147
.. _node-tls-securecontext:
148
148
149
- Create a `` SecureContext`` Object to Store Certificates
150
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149
+ Create a SecureContext Object to Store Certificates
150
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
151
151
152
152
We recommend that you use the ``secureContext`` option to configure
153
153
your TLS connection. ``SecureContext`` objects are native to Node.js
@@ -202,8 +202,8 @@ in your ``MongoClient``:
202
202
tlsCertificateKeyFile: `<path to private client key>`,
203
203
});
204
204
205
- Create `` Buffer`` Objects to Store Certificates
206
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205
+ Create Buffer Objects to Store Certificates
206
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207
207
208
208
You can pass the contents of your certificate files as ``Buffer``
209
209
objects in your client options to connect with TLS.
@@ -225,8 +225,8 @@ files and pass the resulting ``Buffer`` objects as options in your
225
225
226
226
.. _node-securecontext-full-example:
227
227
228
- `` SecureContext`` Example
229
- -------------------------
228
+ SecureContext Example
229
+ ---------------------
230
230
231
231
This example shows how to create a ``SecureContext`` object and
232
232
a ``MongoClient`` instance that includes TLS options. The example
0 commit comments