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

SSL does not work in cassandra-cli

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.11, 2.1.1
    • Component/s: Legacy/Tools
    • Labels:
      None
    • Environment:
    • Severity:
      Normal
    • Since Version:

      Description

      When specify transport factory parameter '-tf org.apache.cassandra.cli.transport.SSLTransportFactory' it throws exception, see below, because SSLTransportFactory extends TTransportFactory not ITransportFactory.

      Exception in thread "main" java.lang.IllegalArgumentException: Cannot create a transport factory 'org.apache.cassandra.cli.transport.SSLTransportFactory'.
      at org.apache.cassandra.cli.CliOptions.validateAndSetTransportFactory(CliOptions.java:288)
      at org.apache.cassandra.cli.CliOptions.processArgs(CliOptions.java:223)
      at org.apache.cassandra.cli.CliMain.main(CliMain.java:230)
      Caused by: java.lang.IllegalArgumentException: transport factory 'org.apache.cassandra.cli.transport.SSLTransportFactory' not derived from ITransportFactory
      at org.apache.cassandra.cli.CliOptions.validateAndSetTransportFactory(CliOptions.java:282)
      ... 2 more

        Attachments

        1. 7899-v1.txt
          5 kB
          Jason Brown
        2. 7899-v2.txt
          6 kB
          Sam Tunnicliffe

          Activity

            People

            • Assignee:
              jasobrown Jason Brown
              Reporter:
              zdenek.ott Zdenek Ott
              Authors:
              Jason Brown
              Reviewers:
              Sam Tunnicliffe
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: