[CONC-447] ERROR 2026 (HY000): SSL connection error: Certificate signature check failed Created: 2019-12-03 Updated: 2020-08-25 Resolved: 2019-12-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 3.1.5 |
| Fix Version/s: | 3.1.6 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
https://github.com/HeidiSQL/HeidiSQL/issues/330 parameters with --ssl." SSL certificate chain validation and revocation list handling in Schannel are broken. The current handling seems to assume there is a single CA certificate in the ca-certs.pem file, the "issuer". However there many possible imtermediate CA in this file. It also uses the API nobody else is using for similar purposes CertVerifySubjectCertificateContext(). The handling of CRL is equally broken, there seems to be an assumption that there is just a single entry in the crl file. What other guys are doing (ex. curl and mongodb) - they load all CA certificates and all CRL entries into chain specific memory store, and validate certificate against the store. |