其他分享
首页 > 其他分享> > 服务器证书验证设置报错com.zaxxer.hikari.HikariDataSource: HikariPool-1 - Starting...

服务器证书验证设置报错com.zaxxer.hikari.HikariDataSource: HikariPool-1 - Starting...

作者:互联网

com.zaxxer.hikari.HikariDataSource: HikariPool-1 - Starting…

2020-12-10 18:08:55.037  INFO 18704 --- [           main] 
com.zaxxer.hikari.HikariDataSource       : 
HikariPool-1 - Starting...
Thu Dec 10 18:08:55 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.

我们可以简单翻译一下就是需要建立SSL服务器证书验证,藉着往下看就是,要么设置useSSL=false显式禁用SSL,要么设置useSSL=true并提供用于服务器证书验证的信任库。很显然,直接设置false简单粗暴多了
在这里插入图片描述
在配置文件设置后,再次运行,成功

标签:...,useSSL,zaxxer,hikari,SSL,set,报错,false,Starting
来源: https://blog.csdn.net/weixin_46223196/article/details/110958603