Stefan1200's Forum

JTS3ServerMod Hosting Edition => JTS3ServerMod MySQL & WebInterface => FAQ / How To ... => Topic started by: Stefan1200 on May 03, 2016, 08:17:46 AM

Title: MySQL Server: SSL connection warning / SSL Verbindungswarnung
Post by: Stefan1200 on May 03, 2016, 08:17:46 AM
*** English ***
You get the following warning while starting the JTS3ServerMod Hosting Edition with the MySQL mode activated:
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.

This message is from the MySQL JDBC driver. Starting with the above MYSQL server versions, the MySQL connection use SSL encryption by default. You get the warning, because the MySQL server certificate can't be verified.

There are three possibilities now:


*** Deutsch ***
Beim Starten der JTS3ServerMod Hosting Edition mit aktiviertem MySQL Modus kommt folgende Warnung:
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.

Die Meldung kommt vom MySQL JDBC Treiber. Ab den oben genannten MySQL Server Versionen wird SSL als Standardeinstellung verwendet. Die Warnung kommt deshalb, weil das Server Zertifikat nicht verifiziert werden kann.

Man hat nun drei Möglichkeiten: