Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-727

Support configuration of custom SSLSocketFactory

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • configuration
    • None

    Description

      We are trying to use the mariadb connector in a cloud environment and need to configure a custom SSLSocketFactory which apparently is not possible at the moment. We are in need of a sslSocketFactory JDBC URL parameter similar to the existing socketFactory.

      We already tried to configure our custom SSLSocketFactory via the socketFactory parameter, but that fails as MySQL/MariaDB are using StartTLS: Could not connect to db:3306: Unrecognized SSL message, plaintext connection?

      The postgresql jdbc driver also supports setting a custom SSLSocketFactory via an sslfactory parameter. See https://jdbc.postgresql.org/documentation/head/ssl-client.html

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            johan1 Jo Stenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.