Bug #59515 SSL error message is uninformative.

Submitted: 14 Jan 2011 20:30 Modified: 3 Jun 2011 9:49
Reporter: Davi Arnaut (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:5.1, 5.5, 5.6 OS:Any
Assigned to: CPU Architecture:Any
Tags: connection error, Contribution, error, message, SSL

[14 Jan 2011 20:30] Davi Arnaut
Description:
When a attempt to establish or accept a SSL connection fails, the client and/or server only provides a rather uninformative "SSL connection error" message.  Not even the SSL error code is provided. This makes it practically impossible for a regular user to investigate what caused the failure.

How to repeat:
$ mysql -h localhost
ERROR 2026 (HY000): SSL connection error

Suggested fix:
SSL related error messages should contain the SSL error code and a accompanying human-readable string representing the error.
[20 Jan 2011 10:08] Daniƫl van Eeden
Bug #21287 is related to this issue.
[10 Feb 2011 12:25] Lenz Grimmer
Patch contribution under SCA is available from here:

http://lists.mysql.com/internals/38238

Please review and apply! Thanks.
[3 Jun 2011 9:49] Davi Arnaut
Closed as a duplicate of Bug#21287.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.