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

cqlsh: ssl setting not read from cqlshrc in 3.11

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
    • 3.11.3
    • None
    • None
    • Normal

    Description

      With CASSANDRA-10458 an option was added to read the --ssl flag from cqlshrc, however the commit seems to have been incorrectly merged or the changes were dropped somehow.

      Currently adding the following has no effect:

      [connection]
      ssl = true

      When looking at the current tree it's obvious that the flag is not read: https://github.com/apache/cassandra/blame/cassandra-3.11/bin/cqlsh.py#L2247

      However it should have been added with https://github.com/apache/cassandra/commit/70649a8d65825144fcdbde136d9b6354ef1fb911

      The values like DEFAULT_SSL = False  are present, but the option_with_default() call is missing.

      Git blame also shows no change to that line which would have reverted the change.

      Attachments

        Activity

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

          People

            spod Stefan Podkowinski Assign to me
            tgbeck Christian Becker
            Stefan Podkowinski
            Jay Zhuang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment