Horizon: SSL option for RethinkDB connection

Created on 27 Jul 2016  路  7Comments  路  Source: rethinkdb/horizon

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.

cli tool

Most helpful comment

Is there an ETA yet on Horizon+Compose compatibility?

All 7 comments

+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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arthurvi picture arthurvi  路  4Comments

intellix picture intellix  路  5Comments

hnordt picture hnordt  路  9Comments

hnordt picture hnordt  路  7Comments

deontologician picture deontologician  路  7Comments