docs
docs copied to clipboard
r.connect({ssl: {}}) has undocumented options
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.