Bug #112849 When tls_version is empty, warnings in error log should be removed
Submitted: 27 Oct 2023 4:09 Modified: 27 Oct 2023 5:51
Reporter: Ken NA Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Logging Severity:S3 (Non-critical)
Version: 8.0.33 OS:Any
Assigned to: CPU Architecture:Any
Tags: tls_version

[27 Oct 2023 4:09] Ken NA
Description:
I'm trying to disable SSL on my server.

In the my.cnf file, I have :

[mysqld]
tls_version=''

After restarting the server, I see :

2023-10-27T03:48:14.102726Z 0 [Warning] [MY-013595] [Server] Failed to initialize TLS for channel: mysql_main. See below for the description of exact issue.
2023-10-27T03:48:14.102759Z 0 [Warning] [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: TLS version is invalid
2023-10-27T03:48:14.153739Z 0 [System] [MY-010931] [Server]

How to repeat:
Add this to your my.cnf file and restart :

[mysqld]
tls_version=''

Suggested fix:
The warnings should be removed from the error log.
[27 Oct 2023 5:51] MySQL Verification Team
Hello Ken,

Thank you for the report and feedback.
IMHO this is duplicate of Bug #104587, please see Bug #104587

regards,
Umesh