SSL Connection to MySQL in Studio and on Server
eric_duell
MemberPosts:2Contributor I
Best Answer
-
艾丁_Klapic Moderator, Employee, RMResearcher, MemberPosts:299RM Data Scientist
Hi@eric_duell,
Welcome to the RapidMiner Community!
Unfortunately, there are multiple steps necessary to achieve this.
- Force MySQL Server to use SSL connections (Some documentation can be found here:https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-using-ssl.html.)You also need to get a SSL certificate.
- Configure the Database connection details from within RapidMiner accordingly
At "Database scheme" enter:?useSSL=true&ssl=required - Configure the Database connection details in the RapidMiner Server Webinterface accordingly
At "Schema" enter:?useSSL=true&ssl=required
This should do the trick.
Happy mining,
艾丁
By the way:
The following error message in the server.log of RapidMiner Server can most often be ignored. In most installations the database is installed on localhost where the usual MySQL Standard port 3306 is blocked for inbound connections.
ERROR [stderr] (JCA PoolFiller) Tue Mar 20 13:00:19 CET 2018 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.
0
Answers
This is perfect - exactly what I needed. Thank you!