Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6847

The binary transport doesn't load truststore file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.16, 2.0.7, 2.1 beta2
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      org.apache.cassandra.transport.Server.SecurePipelineFactory
      this.sslContext = SSLFactory.createSSLContext(encryptionOptions, false);
      

      false there means that truststore file won't be loaded in any case.
      And that means that the file will not be used to validate clients when require_client_auth==true, making http://www.datastax.com/documentation/cassandra/2.0/cassandra/security/secureNewTrustedUsers_t.html meaningless.

      The only way to workaround that currently is to start C* with -Djavax.net.ssl.trustStore=conf/.truststore

      I believe we should load truststore when require_client_auth==true,

        Attachments

        1. cassandra-2.0-6847.patch
          1 kB
          Mikhail Stepura

          Issue Links

            Activity

              People

              • Assignee:
                mishail Mikhail Stepura
                Reporter:
                mishail Mikhail Stepura
                Authors:
                Mikhail Stepura
                Reviewers:
                Sylvain Lebresne
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: