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

Add replication_custom_options to enable replication TLS certification check

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.4.8, 23.02.3
    • 23.02.5, 23.08.2
    • Monitor
    • None
    • MXS-SPRINT-191, MXS-SPRINT-192

    Description

      Replication switchover and failover do not work when having replication set up to require two-way TLS by creating the replication user with REQUIRE x509.
      Problem is that even with replication_master_ssl=true only adds MASTER_SSL=1 to the CHANGE_MASTER statement, but not MASTER_SSL_CERT etc.

      As far as I understand it relies on these to be fetched from the MariaDB options file(s) as documented here:
      https://mariadb.com/kb/en/replication-with-secure-connections/#setting-tls-client-options-in-an-option-file
      but this does not work as documented, see MDEV-31934, and so makes switchover fail in a setup requiring two-way TLS as the slave will not send a client certificate to the master.

      Attachments

        Issue Links

          Activity

            People

              esa.korhonen Esa Korhonen
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.