This connection is using TLSv1.1 which is now deprecated and will be removed in a future release of Connector/J.
时间: 2024-05-26 18:11:57 浏览: 17
This is not a question, but rather a message indicating that the TLSv1.1 protocol is being used in a connection, which is now considered deprecated and will be removed in a future release of the Connector/J driver. It is recommended to upgrade to a newer version of the driver and use TLSv1.2 or a later version for secure connections.
相关问题
如何检查目标服务器否支持 SSLv3/TLSv1.0/TLSv1.1
您可以使用 OpenSSL 命令行工具来检查目标服务器是否支持 SSLv3/TLSv1.0/TLSv1.1。以下是命令示例:
检查 SSLv3 支持:
```
openssl s_client -connect example.com:443 -ssl3
```
检查 TLSv1.0 支持:
```
openssl s_client -connect example.com:443 -tls1
```
检查 TLSv1.1 支持:
```
openssl s_client -connect example.com:443 -tls1_1
```
如果连接成功,说明服务器支持相应的协议;如果连接失败,说明服务器不支持相应的协议。请替换 example.com 为目标服务器的域名或 IP 地址。
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及其早期版本。