This connection is using TLSv1.1 which is now deprecated and will be removed in a future release of Connector/J.
时间: 2024-06-03 20:11:47 浏览: 147
This is not a question, but rather a warning message regarding the use of TLSv1.1 in Connector/J, a JDBC driver for connecting Java applications to MySQL databases. TLSv1.1 is an outdated and less secure version of the TLS protocol, and as the message suggests, it will be removed in a future release of Connector/J. To avoid any issues, it is recommended to upgrade to a newer version of the JDBC driver that supports a more secure version of TLS, such as TLSv1.2 or TLSv1.3.
相关问题
javax.net.ssl.sslhandshakeexception: no appropriate protocol (protocol is disabled or cipher suites are inappropriate) the following required algorithms might be disabled: sslv3, tlsv1, tlsv1.1, rc4, des, md5withrsa, dh keysize < 1024, ec keysize < 224, 3des_ede_cbc, anon, null, include jdk.disabled.namedcurves. edit the list of disabled algorithms to include required algorithms. you can try to enable tlsv1 or tlsv1.1 first. jdbc driver may have disabled tls 1.1 and its earlier versions.
这是一个SSL握手异常,可能由于协议被禁用或密码套件不合适而导致。可能已禁用以下必需算法:sslv3、tlsv1、tlsv1.1、rc4、des、md5withrsa、dh keysize <1024、ec keysize <224、3des_ede_cbc、anon、null,包括jdk.disabled.namedcurves。请编辑禁用算法列表以包括所需算法。您可以先尝试启用tlsv1或tlsv1.1。JDBC驱动程序可能已禁用TLS 1.1及其早期版本。
nginx禁用tlsV1.1
可以通过在nginx配置文件中添加以下代码来禁用TLSv1.1:
ssl_protocols TLSv1.2 TLSv1.3;
这将只允许使用TLSv1.2和TLSv1.3协议进行加密通信,而禁用TLSv1.1。
阅读全文