Giter VIP home page Giter VIP logo

Comments (14)

krasserm avatar krasserm commented on August 29, 2024

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?

from akka-persistence-cassandra.

magnusart avatar magnusart commented on August 29, 2024

Cool. I actually did a quick test last night by adding the withSSL() and adding the JSSE runtime JVM parameters to spray-revolver, but it didn't work out of the box with my setup.

I could continue on the work started by @elmato and test it if he is occupied.

from akka-persistence-cassandra.

krasserm avatar krasserm commented on August 29, 2024

@magnusart sound good to me!

from akka-persistence-cassandra.

elmato avatar elmato commented on August 29, 2024

@magnusart i think you are referring to @elmalto (Yes .. tricky nick names :) )

from akka-persistence-cassandra.

malterb avatar malterb commented on August 29, 2024

Hey @magnusart, it would be amazing if you could continue it. I currently don't know when I would find time for it :)

from akka-persistence-cassandra.

magnusart avatar magnusart commented on August 29, 2024

@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.

from akka-persistence-cassandra.

malterb avatar malterb commented on August 29, 2024

@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

from akka-persistence-cassandra.

magnusart avatar magnusart commented on August 29, 2024

@elmalto thanks, as I suspected I had some strange state where my project did not accept my locally published version (even when using -SNAPSHOT). I actually already fixed the JKS when file not found. I throw an error if the path is incorrect.

@kasserm I have created a new pull request

Pull request: #59

from akka-persistence-cassandra.

magnusart avatar magnusart commented on August 29, 2024

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.

from akka-persistence-cassandra.

krasserm avatar krasserm commented on August 29, 2024

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.

from akka-persistence-cassandra.

magnusart avatar magnusart commented on August 29, 2024

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

from akka-persistence-cassandra.

krasserm avatar krasserm commented on August 29, 2024

@magnusart 0.3.9 containing your changes is released.

from akka-persistence-cassandra.

magnusart avatar magnusart commented on August 29, 2024

Many thanks!

from akka-persistence-cassandra.

krasserm avatar krasserm commented on August 29, 2024

You're welcome. Thank you for your contribution!

from akka-persistence-cassandra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.