Support connecting to Cassandra over TLS/SSL

Description

It'd be great to support connecting to Cassandra over TLS. I was able to get schema setup to work by adding `withSSL()` to the connection Builder in `org.opennms.newts.cassandra.SchemaManager`: would you be open to adding an option for this? I guess we'd also need to add this to `CassandraSession` in the same package.

Lucidchart Diagrams

Activity

Show:

Jesse White April 6, 2016 at 1:39 PM

Jesse White April 6, 2016 at 1:37 PM

Thanks for the enhancement . I'll address the JAVA_OPTS in .

Maciek Sakrejda March 1, 2016 at 12:23 PM

Any thoughts on this? My Java's rusty, but I can probably supply a patch to allow config file support for TLS to connect to Cassandra (since the cert stuff does not require code changes, only setup scripts, I think it's less of an issue).

Maciek Sakrejda February 6, 2016 at 3:16 PM

Also, because of the way I'm handling certificates, I had to pass a custom trust store to the JVM via -Djavax.net.ssl.trustStore and -Djavax.net.ssl.trustStorePassword. Right now this is hard to do with newts because the init / run scripts don't support passing any JVM options. Perhaps they could support JAVA_OPTS or similar?

Maciek Sakrejda February 6, 2016 at 3:05 PM

(sorry, accidentally posted) ...before it's available in trunk:

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

PagerDuty

Created February 6, 2016 at 3:20 AM
Updated April 6, 2016 at 1:39 PM
Resolved April 6, 2016 at 1:38 PM