-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datastax Java Driver TLS Support #57
Comments
Hi Magnus, thanks for offering help. @elmalto started working on it and created pull request #53. @elmalto are you still planning to continue with it? |
Cool. I actually did a quick test last night by adding the I could continue on the work started by @elmato and test it if he is occupied. |
@magnusart sound good to me! |
@magnusart i think you are referring to @elmalto (Yes .. tricky nick names :) ) |
Hey @magnusart, it would be amazing if you could continue it. I currently don't know when I would find time for it :) |
@elmalto I gave it a go already yesterday. :) I refactored the a bit, basically to close the input streams. But I could not get the SSL connection to happen. In the Cassandra logs I get a message that claims the data sent was not a SSL-handshake and when I look at the data being sent it is "CQL3.0". Did you successfully test SSL-connection? I can connect to my cluster using the DataStax DevCenter with the same truststore/keystore successfully. So I believe my setup is OK. Will try to debug a bit tonight, did not have time yesterday. Hoping it is just something simple, like a config error. |
@magnusart it works, but on other projects I've had issues with getResource. I think it will silently fall back to not using your provided keystore if it doesn't find the file |
@elmalto thanks, as I suspected I had some strange state where my project did not accept my locally published version (even when using @kasserm I have created a new pull request Pull request: #59 |
Hi Would you mind publishing a SNAPSHOT version with this included? I want to use this for dev and I'd rather like to track your repo than publish it by myself. |
Bintray doesn't allow publication of snapshot versions. I initially planned to do further work on this plugin before making the next release. But if you'd like I can cut a 0.3.9 release next week. Please let me know. |
Hi, that would be great if it is not too much work. By the way. After looking a bit more I have added an issue at cassandra-unit to see if I can get some answers around wether they support SSL: jsevellec/cassandra-unit#126 |
@magnusart 0.3.9 containing your changes is released. |
Many thanks! |
You're welcome. Thank you for your contribution! |
…s-SamanSattari [krasserm#46] make metric registry of cassandra available for each connection…
Hi
I poked around in the code and could not find any support for TLS (SSL). Is this planned or excluded on purpose? When running Cassandra in the Cloud it feels like a good idea to have traffic encrypted.
It looks as if the DataStax driver has support for this already so adding the configuration setting
clusterBuilder.withSSL()
inCassandraPluginConfig
would work.The enables the user to supply keystore+truststore with JSSE. Of course full configurability is even nicer.
How to set this up with the DataStax driver is described in a blogpost:
http://www.datastax.com/dev/blog/accessing-secure-dse-clusters-with-cql-native-protocol
I can give this a try and contribute on this if you wish to have some help.
The text was updated successfully, but these errors were encountered: