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

SSL coherence : use KeyStore default property when not using keyStore option

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.5
    • Component/s: TLS
    • Labels:
      None

      Description

      There is 2 differents to configure "SSL" mutual authentication possibilities when using driver :

      • using java system properties "javax.net.ssl.trustStore", "javax.net.ssl.keyStore" ...
      • using url options.

      If no SSL options are defined, driver will use java default configuration.

      if keyStore option is defined, driver will use keystore option, and if no truststore option is set, driver will rely on java default implementation ( properties "javax.net.ssl.trustStore", "javax.net.ssl.trustStorePassword").

      Problem is when trustStore or trustServerCertificate options are set without keyStore option set, driver will not use default java "javax.net.ssl.keyStore" properties.

      For coherence, this has to be implemented.

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration