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

MariaDB SSL connection issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not a Bug
    • Affects Version/s: 5.5.31
    • Fix Version/s: 5.5.32
    • Component/s: None
    • Labels:
      None
    • Environment:
      Debian squeeze 64 bit, packages from official MariaDB repositories

      Description

      Hi,

      After switching from Mysql to MariaDB ( Server version: 5.5.31-MariaDB-1squeeze-log ) we lost the ability to connect via SSL to the server.

      We were using self signed certificates generated via the method described here and they worked well before the switch to MariaDB : http://dev.mysql.com/doc/refman/5.5/en/creating-ssl-certs.html

      We get the following error messages when trying to connect on the same machine having both the client and the server.

      dpkg -s mysql-client
      Package: mysql-client
      Status: unknown ok not-installed
      Priority: optional
      Section: database

      dpkg -s mariadb-client
      Package: mariadb-client
      Status: install ok installed
      Priority: optional
      Section: database
      Installed-Size: 32
      Maintainer: MariaDB Developers <maria-developers@lists.launchpad.net>
      Architecture: all
      Source: mariadb-5.5
      Version: 5.5.31+maria-1~squeeze
      Depends: mariadb-client-5.5 (= 5.5.31+maria-1~squeeze)

      mysql -v -u user -p database --ssl-ca /etc/mysql/newcerts/ca-cert.pem --ssl-cert /etc/mysql/newcerts/client-cert.pem --ssl-key /etc/mysql/newcerts/client-key.pem
      Enter password:
      ERROR 2026 (HY000): SSL connection error: error:00000001:lib(0):func(0):reason(1)

      Thanks.

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            bacterie Catalin Stefanescu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration