Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4830

maxctrl create server is confusing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.4.10
    • 24.02.0
    • maxctrl
    • None
    • MXS-SPRINT-196, MXS-SPRINT-197

    Description

      The command to create a server with TLS certificates is as follows:

      maxctrl create server my-server 172.31.22.19 3306 ssl=true ssl_key=/tmp/client-key.pem ssl_cert=/tmp/client-cert.pem ssl_ca=/tmp/ca-cert.pem
      

      The port is an optional parameter but is mandatory if any extra parameters are needed.

      A better alternative that would be much less confusing would be to pass all values as key=value pairs:

      maxctrl create server my-server address=172.31.22.19 port=3306 ssl=true ssl_key=/tmp/client-key.pem ssl_cert=/tmp/client-cert.pem ssl_ca=/tmp/ca-cert.pem
      

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.