[CONC-686] Error 2026 TLS error messages truncated Created: 2024-01-24  Updated: 2024-01-24  Resolved: 2024-01-24

Status: Closed
Project: MariaDB Connector/C
Component/s: TLS/SSL
Affects Version/s: 3.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

mysql -uroot  --ssl  --ssl-verify-server-cert=1 --ssl-ca=C:\work\certs\ca.pem
ERROR 2026 (HY000): TLS/SSL error: Server certificate validation failed. The signature of the certificate cannot be verified. Error 0x8

The actual , non-castrated error message should be
Server certificate validation failed. The signature of the certificate cannot be verified. Error 0x80096004(TRUST_E_CERT_SIGNATURE)
If it is truncated ending with 0x8, it is very confusing.


Generated at Thu Feb 08 03:07:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.