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

Empty clientCertificateKeyStoreUrl option handling

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • all
    • 1.5.3
    • Other
    • 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

            diego dupin Diego Dupin
            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.