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

secure connection : use KeyStore private key and associate public keys certificates only

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.5.3
    • Other
    • None

    Description

      trustStore and keyStore are used in context of setting up SSL connection in Java application between client and server.

      Driver can use 2 differents keyStore files :

      • TrustStore : to list trusted certificats (for 1 or 2 ways SSL)
      • KeyStore : to provide private key and certificates corresponding to there public keys (for 2 ways SSL)

      The "keyStore" file can list :

      • KeyStore.PrivateKeyEntry
      • KeyStore.SecretKeyEntry
      • KeyStore.TrustedCertificateEntry

      Using "clientCertificateKeyStoreUrl" option, the keystore will be used by driver to get private keys and associate certificate chains.

      Depending on java KeyManager implementation, TrustedCertificate from keyStore can be used or not.
      The purpose of this task is to ensure that driver will use only private key from "clientCertificateKeyStoreUrl" keystore (property "javax.net.ssl.keyStore" will use default java implementation)

      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.