Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCBB17E7F for ; Mon, 29 Aug 2011 15:59:03 +0000 (UTC) Received: (qmail 9618 invoked by uid 500); 29 Aug 2011 15:59:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 9354 invoked by uid 500); 29 Aug 2011 15:59:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 9340 invoked by uid 99); 29 Aug 2011 15:59:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 15:59:02 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 15:59:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5DCB4D5B95 for ; Mon, 29 Aug 2011 15:58:40 +0000 (UTC) Date: Mon, 29 Aug 2011 15:58:40 +0000 (UTC) From: "Gary Dusbabek (JIRA)" To: commits@cassandra.apache.org Message-ID: <1963953116.3589.1314633520380.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1909537818.46861.1313618847170.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3051) On Disk Compression breaks SSL Encryption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092930#comment-13092930 ] Gary Dusbabek commented on CASSANDRA-3051: ------------------------------------------ Not that I know of. If someone wants to write one it would flesh out these basic steps: # follow the steps for generating a keystore and a trust store here: http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore # plug those files into encryption_options in cassandra.yaml # make sure encryption_options.internode_encryption = all in the yaml. I was mostly raising a voice of caution against committing code backed up by statements like "I don't see anh reason why it won't..." This is usually a prelude to something like "we need to quickly release a new version because XYZ broke streaming." Just sayin'. > On Disk Compression breaks SSL Encryption > ----------------------------------------- > > Key: CASSANDRA-3051 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3051 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.0 > Environment: Trunk > Reporter: Benjamin Coverston > Assignee: Pavel Yaskevich > Fix For: 1.0 > > Attachments: CASSANDRA-3051.patch > > > Encryption depends on FileStreamTask.write [1] protected member to be called because the SSLFileStreamTask.write overrides this to write back to the server. > When enabled, compression circumvents the call and the client does not communicate using an SSL socket back to the server. > [1] > protected long write(FileChannel fc, Pair section, long length, long bytesTransferred) throws IOException -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira