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

OpenSSL on Windows: TLS verification fails with error "Error (2026): TLS/SSL error: unable to get local issuer certificate"

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.3, 3.4.0
    • None
    • None
    • None
    • Windows, OpenSSL

    Description

      Peer certificate verification on Windows via OpenSSL always fails unless a CA file or CA path was specified:

      Error (2026): TLS/SSL error: unable to get local issuer certificate
      

      Unlike *nix systems, system CAs are not stored in the file system (like /etc/ssl), but in the Windows registry. Since OpenSSL does not install certificates on Windows, the Windows CA store should be imported if no CA file or CA path was explicitly specified.

      Attachments

        Activity

          People

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