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

SSL does not work in cassandra-cli

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment