horizon
horizon copied to clipboard
SSL option for RethinkDB connection
https://github.com/rethinkdb/horizon/pull/507 added support for RethinkDB's user and password options, but didn't add a way for enabling SSL for the RethinkDB connection.
We'll need an option to pass the location of the RethinkDB SSL certificate to Horizon, and Horizon has to pass the certificate's file path to r.connect through the ssl option if specified.
This is required for connecting directly to Compose RethinkDB clusters for example.
+1
+1 For me as well. Unfortunately, this became a non-starter for me because my company has a secure protocol only policy. Hopefully, this can be addressed soon, because I can see allot of promise in Horizon.
+1 I thought 2.0 was going to support SSL?
We should put this into Horizon 2.1.0 (or maybe even still add it to 2.0.0 before we release the final version?)
Cool!
This was a problem for me as well, it's a quick fix to add a rdb_cert option in the horizon() constructor and then add
ssl: { ca: this._cert }
to the r.connect() call in
https://github.com/rethinkdb/horizon/blob/next/server/src/reql_connection.js
Is there an ETA yet on Horizon+Compose compatibility?