MySQLにSSLで接続する際に以下のようなエラーが起きることがあります。
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.
接続する側の調整方法
接続時にSSL接続をOFFにします。
jdbc:mysql://localhost:3306/databaseName?autoReconnect=true&useSSL=false
参考
http://stackoverflow.com/questions/34189756/warning-about-ssl-connection-when-connecting-to-mysql-database
MySQL側の調整方法
vim /usr/local/etc/my.cnf [mysqld] skip_ssl
参考
http://serverfault.com/questions/770618/how-to-disable-ssl-plugin-on-mysql-5-7-server
SSLでつなぐ場合は以下のように設定すればいいようです。
http://qiita.com/toshiro3/items/b7f6842efe9fd97f8c56