Bug #111024 tls-version=invalid advized by log is itself invalid
Submitted: 12 May 2023 19:06 Modified: 12 May 2023 19:14
Reporter: John Anderson Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:8.0.29 8.0.30 OS:Any
Assigned to: CPU Architecture:Any
Tags: deprication warning

[12 May 2023 19:06] John Anderson
Description:
When 'ssl=off' is present in configuration,  mysql logs the following message.

[Warning] [MY-011068] [Server] The syntax '--ssl=off' is deprecated and will be removed in a future release. Please use --tls-version=invalid instead.

However, when you remove ssl=off, and replace it with tls-version=invalid in the configuration, you get the following message:

[ERROR] [MY-013835] [Server] Option --tls-version or --admin-tls-version is set to an invalid value invalid.

How to repeat:
Install MySQL server packages on Linux, and put ssl=off in the configuration.  Start the server, and grep the logs for the deprecation warning.   Stop the server, remove ssl=off from the configuration and add tls-version=invalid, then try and start the server again.  Read the error from the logs.

Suggested fix:
Probably figure out why tls-version=invalid isn't causing the same behavior as ssl=off.
[12 May 2023 19:14] John Anderson
This appears to be a duplicate of https://bugs.mysql.com/bug.php?id=106459.  Looks like I missed that on my search. 

Closing as duplicate.