blusol
11/22/2022, 5:54 PMCaused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
at java.base/sun.security.ssl.HandshakeContext.<init>(Unknown Source)
at java.base/sun.security.ssl.ClientHandshakeContext.<init>(Unknown Source)
at java.base/sun.security.ssl.TransportContext.kickstart(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:149)
... 212 more
I have googled it and tried passing ssl=false in the connection string, as well as enabledTLSProtocols=TLSv1.2 with ssl=true but I'm still unable to get it to connect.
my java version when running box java list shows
Java 11.0.15 (Eclipse Adoptium)
/usr/local/bin/jre/
This is the Java installation in use by the CLI, it cannot be removed.
openjdk11_jre_x64_mac_hotspot_jdk-11.0.17+8
AdoptOpenJDK
<https://adoptium.net/>
I have tried to connect to my remote mysql server which is version 5.7 and a localhost version which is 8.0.31 and neither will connect. yes, i do have valid credentials, firewall, etc. I'm able to connect to each server via navicat.
any help is greatly appreciated.elpete
11/22/2022, 5:56 PMelpete
11/22/2022, 5:57 PMblusol
11/22/2022, 5:59 PMblusol
11/22/2022, 5:59 PMzackster
11/22/2022, 6:01 PMblusol
11/22/2022, 6:02 PMzackster
11/22/2022, 6:02 PMblusol
11/22/2022, 6:04 PMblusol
11/22/2022, 6:19 PMzackster
11/22/2022, 6:23 PM