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

Support configuration of custom SSLSocketFactory

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: configuration
    • Labels:
      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

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            johan1 Jo Stenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration