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

11.4 Mariadb-backup fails on Windows with SSL certificate is self-signed error

    XMLWordPrintable

Details

    • Can result in unexpected behaviour
    • Fixed mariadb-backup behavior so it does not fail with "self-signed certificate" error with default settings.

    Description

      On MariaDB 11.4.7 on Windows when I run run a full backup using mariadb-backup I am get the following error

      mariadb-backup --backup --target-dir="C:\Users\Administrator\Desktop\test_db-master\bkup" --user=root
      [00] 2025-06-26 21:42:51 Connecting to MariaDB server host: localhost, user: root, password: not set, port: 3306, socket: not set
      [00] 2025-06-26 21:42:51 Failed to connect to MariaDB server: SSL connection error: SSL certificate is self-signed.
      

      When I run the same command on a Rocky 9 linux server, it runs as expected with no SSL issue.
      I know how to work around the issue by adding --ssl-verify-server-cert=FALSE or --skip-ssl-verify-server-cert to the command, but this feels like an unnecessary step since it is not needed on Linux.

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              kyle.hutchinson Kyle Hutchinson
              Votes:
              1 Vote for this issue
              Watchers:
              4 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.