mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1453: Merge enable MySQL/MariaDB SSL connection using legacy property
This commit is contained in:
@@ -89,7 +89,10 @@ public class MySQLAuthenticationProviderModule implements Module {
|
||||
// For compatibility, set legacy useSSL property when SSL is disabled.
|
||||
if (sslMode == MySQLSSLMode.DISABLED)
|
||||
driverProperties.setProperty("useSSL", "false");
|
||||
|
||||
// For compatibility, set legacy useSSL property when SSL is eisabled.(Required for mariadb connector/j)
|
||||
else
|
||||
driverProperties.setProperty("useSSL", "true");
|
||||
|
||||
// Check other SSL settings and set as required
|
||||
File trustStore = environment.getMySQLSSLTrustStore();
|
||||
if (trustStore != null)
|
||||
|
Reference in New Issue
Block a user