[MDEV-15856] mysql client receiving error: sslv3 alert unsupported certificate Created: 2018-04-12 Updated: 2020-08-25 Resolved: 2018-04-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients, SSL |
| Affects Version/s: | 10.2.14 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | ssl | ||
| Description |
|
A user is seeing the following error while trying to connect to MariaDB using SSL:
The certificates are able to be verified by OpenSSL:
And the certificates also work with OpenSSL's s_client and s_server tools. This is on RHEL 7.4 with the following packages:
ssl_cipher is not set to anything. The certificate uses a 2048 bit RSA key, and it also uses the "Subject Alternative Name" field. |
| Comments |
| Comment by Geoff Montee (Inactive) [ 2018-04-17 ] | ||
|
This happened because the client certificate had the following attribute:
For the certificate to work for client authentication, it needed to be "TLS Web Client Authentication" instead. |