iconomy5legacy / iConomy

iConomy 5 (Towny Edition)
15 stars 14 forks source link

Add the option to configure wether mysql connector uses ssl or not #2

Closed graywolf336 closed 5 years ago

graywolf336 commented 5 years ago

Resolves the following console output. This output is harmless, but extremely spamming making the logs hard to read.

I have tested it locally and on a server, works so far. Only thing I have not tested it on is older MySQL versions.

[18:09:04] [pool-11-thread-1/WARN]: Fri Mar 15 18:09:04 CDT 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
LlmDl commented 5 years ago

At first I was like "I swear I fixed this in Towny already..." Then I saw the repo while looking at the Files Changed page.

graywolf336 commented 5 years ago

That's funny 😂

Thanks for keeping Towny up to date all this time!