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 :
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)