Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

MySQL .Net Connector / Specify TLS version in Connection String (no replies)

$
0
0
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.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>