MySQL .Net Connector / Specify TLS version in Connection String
Posted by: Jamie Crawford
Date: December 22, 2017 04:49PM

I have a Windows 2012 server that has disabled TLS 1.0 and we are using Mysql 5.7.20 Community edition which only allows TLS 1.1. When attempting to have a service connect to mysql, we are getting the error "The client and server cannot communicate, because they do not possess a common algorithm". Is there a way to force a certain TLS version within the connection string? I have a feeling the service is defaulting to TLS 1.0, and I am not able to get around it with numerous registry changes for .net. I am thinking it will be a code change to the service itself, but I was wondering if there was a way to force use of TLS 1.1 in the connection string. I have tried using "ssl mode=required" in the connection string also without luck.

Any help is appreciated.

Options: ReplyQuote


Subject
Written By
Posted
MySQL .Net Connector / Specify TLS version in Connection String
December 22, 2017 04:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.