[MDEV-20170] main.tls_version and main.tls_version1 fail in buildbot on RHEL8 Created: 2019-07-24 Updated: 2020-03-04 Resolved: 2019-12-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform RedHat, SSL, Tests |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-rhel8-amd64/builds/814
|
| Comments |
| Comment by Oleksandr Byelkin [ 2019-10-11 ] | |||||||||||||||
|
georg, check is you can say something about it, if no reassign it to me please | |||||||||||||||
| Comment by Georg Richter [ 2019-12-14 ] | |||||||||||||||
|
TLSv1.0 and TLSv1.1 are deprecated in RHEL 8, unless crypto policy will be changed to legacy. # update-crypto-policies --set LEGACY It also looks like they were removed from core crypto libraries, otherwise the error would be "tlsv1 alert protocol version" | |||||||||||||||
| Comment by Georg Richter [ 2019-12-17 ] | |||||||||||||||
|
Patch attached | |||||||||||||||
| Comment by Sergei Golubchik [ 2019-12-25 ] | |||||||||||||||
|
it's not LEGACY vs DEFAULT, it's
A proper detection of supported protocols could be done like this:
But this exact scrips works unreliably, it needs more work. | |||||||||||||||
| Comment by Sergei Golubchik [ 2019-12-25 ] | |||||||||||||||
|
stracing openssl s_server on RHEL8 shows that it reads /etc/pki/tls/openssl.cnf and /etc/crypto-policies/back-ends/opensslcnf.config | |||||||||||||||
| Comment by Georg Richter [ 2019-12-26 ] | |||||||||||||||
|
Serg, how about checking the minimum supported version by a small c program which scans the configuration file(s)?! I attached a small example demo for it. |