Establishing SSL connection without server's identity verification is not recommended
时间: 2023-08-21 13:10:39 浏览: 102
mysql-connector-java-8.0.11.jar
5星 · 资源好评率100%
这个警告是关于在没有服务器身份验证的情况下建立SSL连接的问题。根据MySQL的要求,如果没有设置显式选项,默认情况下必须建立SSL连接。为了符合不使用SSL的现有应用程序,verifyServerCertificate属性被设置为'false'。解决这个问题的方法有两种:一种是通过设置useSSL=false来显式禁用SSL,另一种是设置useSSL=true并提供用于服务器证书验证的信任存储区。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *3* [WARN: Establishing SSL connection without server‘s identity verification is not recommended 的解决...](https://blog.csdn.net/wangws_sb/article/details/125693746)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [解决Establishing SSL connection without server‘s identity verification is not recommended.](https://blog.csdn.net/LJH132465/article/details/125141751)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文