docs icon indicating copy to clipboard operation
docs copied to clipboard

r.connect({ssl: {}}) has undocumented options

Open dsernst opened this issue 9 years ago • 0 comments

The docs for the JS driver's r.connect says for the ssl key:

Currently, there is only one option available

But this is incorrect. The driver passes the entire SSL object to tls.connect here, so it can use all of tls.connect's options.

In particular, I needed to make use of rejectUnauthorized: false as a temp fix because my server was rejecting Compose's self-signed ssl certificate with a "unable to verify the first certificate" error.

dsernst avatar Sep 28 '16 03:09 dsernst