[MDEV-18019] Default test certificate key too small, incompatible with OpenSSL 1.1.0 Created: 2018-12-16 Updated: 2021-04-11 Resolved: 2021-04-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian, Tests |
| Affects Version/s: | None |
| Fix Version/s: | 10.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Otto Kekäläinen | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
After uploading MariaDB 10.3 to Debian experimental I noticed all builds were failing. One of the reasons was the inability of the mysqld process to serve any connections due to this:
Reports online suggest that the new OpenSSL (available in Debian unstable) does not accept the small keysize in our test certificate. See https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_security_level.html |
| Comments |
| Comment by Otto Kekäläinen [ 2018-12-16 ] |
|
I have created a fix for this and it's now patched in Debian. I will upstream that patch soon. |
| Comment by Otto Kekäläinen [ 2018-12-18 ] |
|
Fixed downstream in https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/8da43c2e32b0730a3d813b1a637d72574205a16d - I plan to upstream this very soon once I have MariaDB 10.3 in Debian done. |
| Comment by Otto Kekäläinen [ 2019-03-30 ] |
|
This was fixed by serg in https://github.com/mariadb/server/commit/9c60535f867678e65ade1258ca10b7d2ee2bdc53 but with only 2048 bit keys. |
| Comment by Otto Kekäläinen [ 2020-04-23 ] |
| Comment by Sergei Golubchik [ 2020-08-14 ] |
|
otto, is this issue fixed? by that commit you've referenced above |
| Comment by Otto Kekäläinen [ 2021-04-11 ] |
|
Merged https://github.com/MariaDB/server/pull/1505, min RSA key size is now 4096. |