Fixed PoolInitializationException when initializing HikariCP

This commit is contained in:
Intelli 2021-12-17 17:00:06 -07:00
parent 085e410ab1
commit 3201a18b16
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ public class ConfigHandler extends Queue {
config.addDataSourceProperty("cacheServerConfiguration", "true");
config.addDataSourceProperty("maintainTimeStats", "false");
/* Disable SSL to suppress the unverified server identity warning */
config.addDataSourceProperty("allowPublicKeyRetrieval", "true");
config.addDataSourceProperty("useSSL", "false");
ConfigHandler.hikariDataSource = new HikariDataSource(config);