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

cqlsh: ssl setting not read from cqlshrc in 3.11

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: