Is TLS 1.2 supported in MySQL 5.7 community build

All we need is an easy explanation of the problem, so here it is.

As a security best practice, I am exploring enforcing TLS 1.2 communication in MySQL 5.7.33 in my environment.

From what I searched in internet, I could see TLS 1.2 is supported in MySQL 5.7 builds which are based on openssl. Enterprise edition which is based on openssl supports TLS 1.2 and community build which is based on yassl does not support TLS 1.2 unless until we compile source code with openssl.

I am not getting a concrete answer. Is TLS 1.2 supported in MySQL 5.7 Community edition? If not, is there any work around?

Is there any blog that I can refer for implementation of TLS 1.2 . Please suggest.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

The latest Version of MYsql 5.7.28 ad abouve suport tls 1.2

MySQL supports encrypted connections using the TLSv1, TLSv1.1, and TLSv1.2 protocols, listed in order from less secure to more secure. The set of protocols actually permitted for connections is subject to multiple factors:

see manual

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply