Open kaosmonk opened 5 years ago
can you show me how your replication DB is configured (for tls 1.2) so I can try to reproduce what you're seeing?
Thanks for reaching out @osheroff I'll try to get that db config for you. I have tried running the latest Maxwell docker image based off Openjdk 8 with the same result. I am wondering to why it tries to only connect with TLSv1.1 since it should support TLSv1.2 from what I am reading.
Can you confirm that TLSv1.2 is supported? I am trying to understand if I can somehow make it talk TLSv1.2 to my database at all.
I'm... not entirely sure. I believe that the jdbc connection should support it, https://dev.mysql.com/doc/relnotes/connector-j/5.1/en/news-5-1-44.html seems to indicate TLSv12 support. And we're certainly on a new enough jdbc driver. Whether the other library (mysql-binlog-connector) supports tls1.2, not sure. But we should get at least the primary connection working first...
Hi guys,
I am trying to run Maxwell with SSL enabled and am experiencing issues when running it like that.
I've built Maxwell Docker image on op of OpenJDK 11.
My MySQL host does not support SSL thus I've set
ssl = DISABLED
while my replication host does thusreplication_ssl = VERIFY_IDENTITY
. Replication DB supports only protocols TLSv1.2 and higher. When Maxwell tries to connect to replication host, I am seeing followingClient hello
message:and of course a handshake failure:
which I believe is a result of protocol mismatch. But since I do not even get
Server hello
I am not sure if it's due to the protocol or something else? I have tried several options eg providing some JDBC_OPTS and JAVA_OPTS to enforce TLSv1.2 without a success. I've tried tweaking underlying java installation to enforce usage of higher protocols but without success. I have also tried couple of ideas I have had around mysql jdbc connector but failed again.Is there anything I can do to make it use TLSv1.2?
Thanks in advance!