Mon Nov 18 01:40:52 CST 2019 WARN: Establishing SSL connection without server's identity verificatio
今天在写ssh项目的时候,部署tomcat之后出现这样的错误
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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.
Mon Nov 18 01:40:52 CST 2019 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/true配置。
修改之后代码如下:
会报错,翻译过来是对实体“useSSL”的引用必须以“;”分隔符结尾。
具体的来说是因为:Html和Xml 文件中的特殊字符需要转义
所以将其修改为:
最终解决问题
正确代码如下:
jdbc:mysql://127.0.0.1:3306/checkdb?characterEncoding=utf8&useSSL=false
一部分转义字符如下,其他的请读者自行查找
参考:https://blog.csdn.net/huang_xin2016/article/details/79757799
Mon Nov 18 01:40:52 CST 2019 WARN: Establishing SSL connection without server's identity verificatio相关推荐
- 运行项目时出现Mon Nov 15 20:49:25 CST 2021 WARN: Establishing SSL connection without server‘s identity veri
问题出现在这里 Mon Nov 15 20:49:25 CST 2021 WARN: Establishing SSL connection without server's identity ver ...
- 运行项目时出现警告:Mon Nov 15 20:49:25 CST 2021 WARN: Establishing SSL connection without server‘s identity v
问题出现 Mon Dec 06 16:41:19 CST 2021 WARN: Establishing SSL connection without server's identity verifi ...
- Fri Sep 11 22:24:03 CST 2020 WARN: Establishing SSL connection without server‘s identity verificatio
今天在建立连接的时候发现有这个问题 错误信息:Fri Sep 11 22:24:03 CST 2020 WARN: Establishing SSL connection without server ...
- 解决jdbc连接数据库出现的问题: Sun Jan 30 18:46:54 CST 2022 WARN: Establishing SSL connection without server‘s i
解决jdbc连接数据库出现的问题: Sun Jan 30 18:46:54 CST 2022 WARN: Establishing SSL connection without server's id ...
- Unparseable date: Fri Nov 08 17:37:33 CST 2019
java.text.ParseException: Unparseable date: "Fri Nov 08 17:37:33 CST 2019" 类型转换异常,需要的参数是时间 ...
- 格林威治时间(Tue Jan 01 00:00:00 CST 2019)[ Date ]转化 为 [ 2019-01-01 10:10:10 ]
格林威治时间(Tue Jan 01 00:00:00 CST 2019)[ Date ]转化 为 [ 2019-01-01 10:10:10 ] String date = "Thu Sep ...
- 2019/03/20 格林威治时间(Tue Jan 01 00:00:00 CST 2019)[ Date ]转化 为 [ 2019-01-01 10:10:10 ]
格林威治时间(Tue Jan 01 00:00:00 CST 2019)[ Date ]转化 为 [ 2019-01-01 10:10:10 ] String date = "Tue Jan ...
- MIT 18.01 单变量微积分笔记——总目录及对应链接
0. 写在前面 这篇总目录主要参考了MIT 18.01单变量微积分的课程结构,当然我也做了一些我认为更合理的思路上的改动.给自己定个小目标,争取一周之内填补目录上的几乎所有内容,我每写完一篇就会在本目 ...
- Solr部分更新MultiValued的Date日期字段时报错及解决方案:Invalid Date String:‘Mon Sep 14 01:48:38 CST 2015‘
Solr部分更新MultiValued的Date日期字段时报错及解决方案:Invalid Date String:'Mon Sep 14 01:48:38 CST 2015' 参考文章: (1)Sol ...
最新文章
- c语言函数与编译预处理教学视频,C语言课程第6章 函数及编译预处理.ppt
- 人脸识别不只是隐私问题 信息泄露面临更大安全隐患
- Verilog设计实例(4)详解全类别加法器(一)
- PyTorch nn.Module 一些疑问
- Oracle Minus 取差集
- 函数_方法_的四种调用方式
- 华为lab-rs-v1-2.9_OSPF区域34
- Javascript - 面向对象
- 【ROS学习笔记】(一)常用命令的解释与举例
- linux查看app路径下文件卡死
- [转]python 正则匹配中文
- Docker与.Net项目类型
- 【GDOI模拟】屏保
- obs无法录制mkv视频文件的解决方法
- 姓名投票c语言未给定候选人,C语言上机
- 服务器 ssd虚拟内存设置,ssd虚拟内存怎么设置最好
- 2017中国之旅系列之九:山西平遥古城之旅
- Ubuntu下制作.deb安装包之dkpg
- 面试最后一问:你有什么问题想问我吗?
- android的vmos虚拟机,vmospro虚拟机