Skip to content

Commit 7357621

Browse files
authored
The driver does perform certificate validation by default, update docs to … (#980)
* The driver perform certificate validation by default, update docs to reflect this * certification -> certificate
1 parent 49d76eb commit 7357621

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/tutorials/ruby-driver-create-client.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,30 +228,30 @@ Ruby Options
228228
- none
229229

230230
* - ``:ssl_ca_cert``
231-
- The file path containing a set of concatenated certification authority certifications used to validate certs
231+
- The file path containing concatenated certificate authority certificates used to validate certs
232232
passed from the other end of the connection. One of :ssl_ca_cert, :ssl_ca_cert_string or :ssl_ca_cert_object
233233
(in order of priority) is required for :ssl_verify.
234234
- ``String``
235235
- none
236236

237237
* - ``:ssl_ca_cert_string``
238-
- A string containing a set of concatenated certification authority certifications used to validate certs
238+
- A string containing concatenated certificate authority certificates used to validate certs
239239
passed from the other end of the connection. One of :ssl_ca_cert, :ssl_ca_cert_string or :ssl_ca_cert_object
240240
(in order of priority) is required for :ssl_verify.
241241
- ``String``
242242
- none
243243

244244
* - ``:ssl_ca_cert_object``
245-
- An array of OpenSSL::X509::Certificate representing the certification authority certifications used to
245+
- An array of OpenSSL::X509::Certificate representing the certificate authority certificates used to
246246
validate certs passed from the other end of the connection. One of :ssl_ca_cert, :ssl_ca_cert_string or
247247
:ssl_ca_cert_object (in order of priority) is required for :ssl_verify.
248248
- ``Array<OpenSSL::X509::Certificate>``
249249
- none
250250

251251
* - ``:ssl_verify``
252-
- Whether or not to do peer certification validation.
252+
- Whether to perform peer certificate validation.
253253
- ``Boolean``
254-
- false
254+
- true
255255

256256
* - ``:connect_timeout``
257257
- The number of seconds to wait to establish a socket connection

0 commit comments

Comments
 (0)