Bug #84960 TLS version not exposed in client
Submitted: 12 Feb 2017 16:48 Modified: 13 Feb 2017 12:33
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any
Tags: SSL, tls

[12 Feb 2017 16:48] Daniël van Eeden
Description:
The status command in the 'mysql' client reports this:
...
SSL:			Cipher in use is AES256-SHA
...

But I'd also like to know if TLSv1, TLSv1.1 or TLSv1.2 is used.

How to repeat:
1. Connect using TLS
2. Try to find the TLS version the *client* uses.

Note that "show status like 'ssl_version'" shows the TLS version the *server* is using. This is often identical to the client, but with a proxy/router in between this doesn't have to be the case.

Note that the client does have a --tls-version option to set a required version
[13 Feb 2017 12:33] MySQL Verification Team
Hello Daniël,

Thank you for the report and feature request!

Thanks,
Umesh