Skip to content

Commit 2fefd93

Browse files
committed
update documentation for insecure tls options
1 parent e396935 commit 2fefd93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ URI Options Conversions
163163
* - tlsAllowInvalidCertificates=Boolean
164164
- ``:ssl_verify => boolean``
165165

166+
NOTE: Because ``tlsAllowInvalidCertificates`` uses ``true`` to sigify that verification
167+
should be disabled and ``ssl_verify`` uses ``false`` to signify that verification should be
168+
disabled, the boolean is inverted before being used to set ``ssl_verify``
169+
166170
* - tlsCAFile=String
167171
- ``:ssl_ca_cert => String``
168172

@@ -178,6 +182,10 @@ URI Options Conversions
178182
* - tlsInsecure=Boolean
179183
- ``:ssl_verify => boolean``
180184

185+
NOTE: Because tlsInsecure uses ``true`` to sigify that verification should be disabled and
186+
``ssl_verify`` uses ``false`` to signify that verification should be disabled, the boolean
187+
is inverted before being used to set ``ssl_verify``
188+
181189
* - w=Integer|String
182190
- ``{ :write => { :w => Integer|String }}``
183191

0 commit comments

Comments
 (0)