GUACAMOLE-1453: Merge enable MySQL/MariaDB SSL connection using legacy property

This commit is contained in:
Virtually Nick authored and GitHub committed 2021-10-28 13:09:44 -04:00
commit 62b26fb594
1 file changed
+4 -1
@@ -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)