MAC M1 USERS - i need help. anyone running a mac m...
# cfml-general
b
MAC M1 USERS - i need help. anyone running a mac m1 chip and commandbox with lucee able to connect to a mysql server? I'm getting a connection error which appears to be about the SSL.
Copy code
Caused 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
Copy code
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.
e
It may not be needed any more, but I installed an intel version of Java via Rosetta.
That seemed to fix all these issues for me.
b
I'm willing to give it a go.. what's Rosetta? when i google it all i get is rosetta stone
found it. nvm
z
which version of lucee?
b
5.3.9
z
the 5.3.9 release and latest version of commandbox both should support M1 natively https://luceeserver.atlassian.net/browse/LDEV-3536
b
hrmm.. that's the version i'm on too. still can't get it to work.
i updated to 5.9.10 RC 94 and was able to connect to mysql server version 8. unsure about mysql 5.7 at the moment.
z
wooohooot!