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.connecthere, 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.
The docs for the JS driver's
r.connect
says for thessl
key:But this is incorrect. The driver passes the entire SSL object to
tls.connect
here, so it can use all oftls.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.