Orange-OpenSource / YACassandraPDO

Cassandra PDO Driver fork
Apache License 2.0
85 stars 32 forks source link

SSL support for client-node encrypted communication #68

Open shobhit85 opened 9 years ago

shobhit85 commented 9 years ago

Hi,

Is there any plan to add ssl support for all the calls from the client to the cassandra server node?

Thanks,

mlornac-orange commented 9 years ago

HI,

We do not plan to implement ssl support. I don't even know if it can be achieved at this layer. Tunneling would be impossible for you?

Cheers Mathieu

shobhit85 commented 9 years ago

Hi Mathieu,

As long as this driver is based on thrift API of Cassandra, I think we should be able to add ssl support to the driver as thrift provides SSL communication layer.

I am trying myself to add the changes to the driver to try out if this works. May be I can contribute if this works out.

Thanks for the reply. Shobhit

mlornac-orange commented 9 years ago

Hi,

Yes If Thrift provides SSL com layer, we can do it. I don't have much time to work on this project, but I can help you implementing it if you plan to do so

shobhit85 commented 9 years ago

That would be great if you could help me. I am working on the implementation already. Let me know how to collaborate...

Thanks,

shobhit85 commented 9 years ago

@mlornac-orange I have created a new pull request here with the changes required to support SSL between a php client and Cassandra server.

Please feel free to review it.

Thanks,

simonhf commented 7 years ago

FYI this has been merged into [1] with all the tests passing BUT hasn't been properly tested yet with production code... so try it and report back here? :-)

https://github.com/bixuehujin/YACassandraPDO/tree/php7

shobhit85 commented 7 years ago

Thanks @simonhf. We used it for production in my previous company it worked great. At that time new DataStax driver for PHP was not out.