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

Empty clientCertificateKeyStoreUrl option handling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.5.3
    • Component/s: Other
    • Labels:
      None

      Description

      Option clientCertificateKeyStoreUrl with empty value (i.e. "") must throw an Exception.
      If set, option clientCertificateKeyStoreUrl must be a valid keystore url value.

      https://github.com/MariaDB/mariadb-connector-j/blob/master/src/main/java/org/mariadb/jdbc/internal/protocol/AbstractConnectProtocol.java#L258

      At the same time, options concerning keystore and truststore like "trustCertificateKeyStoreUrl" are very confusing. It would be better to use java-ish named, and keep current names as alias for compatibility with existing version and mysql. (option "trustCertificateKeyStoreUrl" may be "trustStoreUrl" or "trustStore")

        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

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.