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

SSL does not work in cassandra-cli

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.11, 2.1.1
    • Legacy/Tools
    • None
    • Normal

    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-v2.txt
          6 kB
          Sam Tunnicliffe
        2. 7899-v1.txt
          5 kB
          Jason Brown

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: