本文主要是介绍Establishing SSL connection without server s identity verification is not recommended,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Springboot-Mybatis 连接数据库
好久没用Springboot,今儿个用了下,在搭建数据库的时候发现:
- log框中提示:
Wed Jun 03 23:41:30 CST 2020 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
- 在mysql5.多版本开始就不建议显示SSL?如果没有设置显式选项,则必须在默认情况下建立SSL连接,这里提示说,如果禁用,或者按它说的验证身份,由于还处于初步开发阶段,因此我选择禁用
- 然后警告就没了。
这篇关于Establishing SSL connection without server s identity verification is not recommended的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!