Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-778

Unable to connect MySQL DB using TLS 1.3 on windows 2022, whereas on linux it works.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.3.15, 3.4.5
    • 3.4.7, 3.3.17
    • TLS/SSL
    • None
    • Windows Server 2022

    Description

      We had the mySQL DB setup for TLS 1.3 usage. Using the mariaDB ODBC connector on Windows , unable to connect using TLS 1.3, whereas the same version connector works fine with Linux and successfully able to communicate to the same DB via TLS1.3.

      For Windows it keeps reporting following error :

      Connection Failed: [HY000][ma-3.2.4]TLS/SSL error: TLS1.3 is not supported
      on Windows before Windows 11 or Windows Server 2022.

      Connection String:
      Driver={MariaDB ODBC 3.2 Driver};TCIP=1;SERVER=somehost.com;UID=root;PWD=
      ******;DATABASE=mystore;PORT=3306;SSLCA=C:\F6\ca-cert.pem;TLSVERSION=4;
      FORCETLS=1;NULLISCURRENT=1;PSCACHESIZE=250;MAXCACHEKEY=2112;PCALLBACK=1

      With the same DB, we are able to connect via MySQL native ODBC drivers.

      Attachments

        Activity

          People

            georg Georg Richter
            mukeshpbrcm Mukesh Patel
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.