[
https://issues.apache.org/jira/browse/GUACAMOLE-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159220#comment-17159220
]
Richard Grime commented on GUACAMOLE-1135:
------------------------------------------
[https://github.com/apache/guacamole-client/pull/552]
BTW - the SSL config for MySQL uses configuration parameters that are >8.0.13
(sslMode), but guacamole-docker/bin/build-guacamole.sh uses 5.1.46 (useSSL /
requireSSL).
Is it better to add logic to handle the different syntax depending on driver
version, or just bump build-guacamole.sh to use a >8.0.13 version?
> MySQL SSL - Trust Store Paths Expecting URI
> -------------------------------------------
>
> Key: GUACAMOLE-1135
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1135
> Project: Guacamole
> Issue Type: Bug
> Components: Documentation, guacamole-auth-jdbc-mysql
> Affects Versions: 1.2.0
> Reporter: Richard Grime
> Priority: Minor
>
> I'm seeing:
> {code:java}
> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
> /path/to/truststore.jks does not appear to be a valid URL.
> {code}
> It looks like the driver is expecting a URI, rather than plain file path?
> [MySQLAuthenticationProviderModule.java|https://github.com/apache/guacamole-client/pull/492/commits/721010cc14bd565a31faff14d9a020973128565c#diff-e8178383030ac1b242f3c02d548c882a]
> currently reads:
> {code:java}
> driverProperties.setProperty("trustCertificateKeyStoreUrl",
> trustStore.getAbsolutePath());
> {code}
> Is there a missing .toUri() ? (And in clientCertificateKeyStoreUrl) - or is
> there any example of how to configure this?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)