Skip to content

Commit 131beed

Browse files
committed
update documentation for insecure tls options
1 parent e396935 commit 131beed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ URI Options Conversions
162162

163163
* - tlsAllowInvalidCertificates=Boolean
164164
- ``:ssl_verify => boolean``
165+
NOTE: Because ``tlsAllowInvalidCertificates`` uses ``true`` to sigify that verification
166+
should be disabled and ``ssl_verify`` uses ``false`` to signify that verification should be
167+
disabled, the boolean is inverted before being used to set ``ssl_verify``
165168

166169
* - tlsCAFile=String
167170
- ``:ssl_ca_cert => String``
@@ -177,6 +180,9 @@ URI Options Conversions
177180

178181
* - tlsInsecure=Boolean
179182
- ``:ssl_verify => boolean``
183+
NOTE: Because tlsInsecure uses ``true`` to sigify that verification should be disabled and
184+
``ssl_verify`` uses ``false`` to signify that verification should be disabled, the boolean
185+
is inverted before being used to set ``ssl_verify``
180186

181187
* - w=Integer|String
182188
- ``{ :write => { :w => Integer|String }}``

0 commit comments

Comments
 (0)