[CONJ-949] keep clientCertificateKeyStoreUrl and clientCertificateKeyStoreUrl aliases Created: 2022-03-29 Updated: 2022-05-18 Resolved: 2022-05-13 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | authentication |
| Affects Version/s: | 3.0.4 |
| Fix Version/s: | 3.0.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Pavel Cibulka | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 20.04, OpenJdk 16.0.1, Apache Tomcat 9, Mariadb 10.5.15 |
||
| Description |
|
Authentication with username, password and certificate is not working when "REQUIRE X509" is set. It is working fine in 2.7.5. In 3.0.4 is works only with "REQUIRE SSL" not with "REQUIRE X509". 3.0.4 throws exception (changed some texts to heshes): connection settings: PoolConfiguration pRead = new PoolProperties(); //Tomcat specific pRead.setDriverClassName("org.mariadb.jdbc.Driver"); DataSource dsRead = new DataSource(); dsRead.setConnectionProperties("rewriteBatchedStatements=true"); dsRead.setConnectionProperties("useSSL=true"); |
| Comments |
| Comment by Diego Dupin [ 2022-05-13 ] |
|
In mariadb those options names are 'keyStore', 'keyStorePassword' not 'clientCertificateKeyStoreUrl' and 'clientCertificateKeyStorePassword', still aliases existed for mysql connector compatibility. |