[CONJ-342] Empty clientCertificateKeyStoreUrl option handling Created: 2016-09-02  Updated: 2016-10-03  Resolved: 2016-10-03

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: all
Fix Version/s: 1.5.3

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
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")


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