[CONJ-370] SSL coherence : use KeyStore default property when not using keyStore option Created: 2016-10-17  Updated: 2016-10-25  Resolved: 2016-10-20

Status: Closed
Project: MariaDB Connector/J
Component/s: TLS
Affects Version/s: None
Fix Version/s: 1.5.5

Type: Task Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
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.


Generated at Thu Feb 08 03:15:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.