Richard Grime created GUACAMOLE-1135:
----------------------------------------

             Summary: 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: guacamole-auth-jdbc-mysql
    Affects Versions: 1.2.0
            Reporter: Richard Grime


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)

Reply via email to