Skip to content
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

Enable ssl connections #1

Merged
merged 3 commits into from Jan 11, 2019

Conversation

michaelburris
Copy link
Contributor

For SSL Cassandra clusters this driver is not allowing key store and trust store properties to be used. Please see DataStax SSL Documentation. The cluster builder should be using the withSSL() method if applicable.

This allows you the ability to pass in the JSSE properties as necessary to use SSL.

Tested with Intellij 2018.3 and Datagrip 2018.3

@kornilova203
Copy link
Member

Hi Michael,

Thank you for submitting the PR!

I am currently in Finland without my laptop. I will review the PR after I get back to work.
If everything is okay we will update driver in DataGrip

Copy link
Member

@kornilova203 kornilova203 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR 👍

The update will be available for all DataGrip users soon

@@ -32,7 +32,7 @@ public void testSimpleUri() {

@Test
public void testUriWithUserName() {
CassandraClientURI uri = new CassandraClientURI("jdbc:cassandra://localhost:9042/?name=cassandra", null);
CassandraClientURI uri = new CassandraClientURI("jdbc:cassandra://localhost:9042/?user=cassandra", null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing test data

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem.

@kornilova203 kornilova203 merged commit 68a2a64 into DataGrip:master Jan 11, 2019
@michaelburris michaelburris deleted the enable-ssl-connection branch January 11, 2019 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants