Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2.0
-
None
Description
I'm seeing:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: /path/to/truststore.jks does not appear to be a valid URL.
It looks like the driver is expecting a URI, rather than plain file path? MySQLAuthenticationProviderModule.java currently reads:
driverProperties.setProperty("trustCertificateKeyStoreUrl",
trustStore.getAbsolutePath());
Is there a missing .toUri() ? (And in clientCertificateKeyStoreUrl) - or is there any example of how to configure this?