Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28302

Configurable defaults for MASTER_SSL_* settings for CHANGE MASTER

    XMLWordPrintable

Details

    • Hide
      Add the DEFAULT keyword for the following CHANGE MASTER fields, whose value can be configured with server options of the same name:
      master_connect_retry master_ssl master_ssl_ca master_ssl_capath master_ssl_cert master_ssl_cipher master_ssl_key master_ssl_verify_server_cert master_ssl_crl master_ssl_crlpath master_use_gtid master_retry_count master_heartbeat_period
      (See https://github.com/MariaDB/server/pull/4430 for a list of the negligible side effects)
      Show
      Add the DEFAULT keyword for the following CHANGE MASTER fields, whose value can be configured with server options of the same name: master_connect_retry master_ssl master_ssl_ca master_ssl_capath master_ssl_cert master_ssl_cipher master_ssl_key master_ssl_verify_server_cert master_ssl_crl master_ssl_crlpath master_use_gtid master_retry_count master_heartbeat_period (See https://github.com/MariaDB/server/pull/4430 for a list of the negligible side effects)
    • Q1/2026 Server Maintenance

    Description

      When having multiple replication channels (or when changing what primary to replicate from often) and using two-way TLS the client certificate and CA files used as MASTER_SSL_* parameters in CHANGE MASTER TO will usually be the same and not change between connections to different primaries.

      So it may make sense to be able to configure a client certificate to be used for all replication channels in a central place instead of having to add MASTER_SSL_CA, MASTER_SSL_CERT and MASTER_SSL_KEY (and maybe MASTER_SSL_VERIFY_SERVER_CERT, too) again and again each time a CHANGE MASTER TO is done.

      E.g.:

      replication_ssl_ca=...
      replication_ssl_cert=...
      replication_ssl_key=...

      and maybe also an explicit MASTER_SSL_USE_DEFAULTS option to CHANGE MASTER to only use such default settings on demand.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              ParadoxV5 Jimmy HĂş
              hholzgra Hartmut Holzgraefe
              Jimmy HĂş Jimmy HĂş
              Andrei Elkin Andrei Elkin
              Deepthi Eranti Sreenivas Deepthi Eranti Sreenivas
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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