Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionStanislav Zidek
2016-09-16 09:37:34 UTC
Same problem seems to be present on RHEL-6 (tested both openssl-1.0.1e-42.el6_7.5 and openssl-1.0.1e-48.el6).
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: TLSv1.2 - ECDHE-RSA-AES128-SHA
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ BEGIN ] :: Running 'PYTHONPATH=tlslite-ng python -u tlslite-ng/scripts/tls.py server -l EXPORTER-test -L 40 -k localhost.key -c localhost.crt localhost:4433 >server.out 2>server.err &'
:: [ PASS ] :: Command 'PYTHONPATH=tlslite-ng python -u tlslite-ng/scripts/tls.py server -l EXPORTER-test -L 40 -k localhost.key -c localhost.crt localhost:4433 >server.out 2>server.err &' (Expected 0, got 0)
...
:: [ BEGIN ] :: Running 'openssl s_client -keymatexport EXPORTER-test -keymatexportlen 40 -connect localhost:4433 -cipher ECDHE-RSA-AES128-SHA </dev/null'
...
Keying material exporter:
Label: 'EXPORTER-test'
Length: 40 bytes
Keying material: FE36CFD8B323213AAD9E00716BA6E82310C1C17E912249B5B23C2A64F48C50BEF21CA8B1F271A004
---
DONE
:: [ PASS ] :: Command 'openssl s_client -keymatexport EXPORTER-test -keymatexportlen 40 -connect localhost:4433 -cipher ECDHE-RSA-AES128-SHA </dev/null' (Expected 0, got 0)
...
:: [ FAIL ] :: Check if exporters match (Assert: 'DD7A15A77B9FA3F6F274FE3A1FD204B94353763C648D17979B726A036F9383A1EE7DCBA945A39110' should equal 'FE36CFD8B323213AAD9E00716BA6E82310C1C17E912249B5B23C2A64F48C50BEF21CA8B1F271A004')
:: [ BEGIN ] :: Running 'cat server.out'
...
Exporter label: EXPORTER-test
Exporter length: 40
Keying material: DD7A15A77B9FA3F6F274FE3A1FD204B94353763C648D17979B726A036F9383A1EE7DCBA945A39110
:: [ PASS ] :: Command 'cat server.out' (Expected 0, got 0)
...
TLSv1-2-ECDHE-RSA-AES128-SHA result: FAIL
+++ This bug was initially created as a clone of Bug #1289620 +++
Description of problem:
Versions of OpenSSL before 1.0.1h have an issue with incorrect digests when interoperating with certain clients. It appears that the bug actually causes OpenSSL on RHEL 7 to violate RFC 5246.
The upstream bug report is
https://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3319
The one-line patch from upstream that's in 1.0.1h and 1.0.2 is
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=4fdf917
Version-Release number of selected component (if applicable):
openssl-1.0.1e-42.el7_1.9
openssl-libs-1.0.1e-42.el7_1.9
Additional info:
This issue can trigger interoperability issues with any client (including devices like mobile phones) that support TLS 1.2 but offer older cipher suites. Especially on mobile devices, it's often not possible for the user to configure what ciphers their SSL stack prefers.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2017-0660.html
Same problem seems to be present on RHEL-6 (tested both openssl-1.0.1e-42.el6_7.5 and openssl-1.0.1e-48.el6). :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: TLSv1.2 - ECDHE-RSA-AES128-SHA :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ BEGIN ] :: Running 'PYTHONPATH=tlslite-ng python -u tlslite-ng/scripts/tls.py server -l EXPORTER-test -L 40 -k localhost.key -c localhost.crt localhost:4433 >server.out 2>server.err &' :: [ PASS ] :: Command 'PYTHONPATH=tlslite-ng python -u tlslite-ng/scripts/tls.py server -l EXPORTER-test -L 40 -k localhost.key -c localhost.crt localhost:4433 >server.out 2>server.err &' (Expected 0, got 0) ... :: [ BEGIN ] :: Running 'openssl s_client -keymatexport EXPORTER-test -keymatexportlen 40 -connect localhost:4433 -cipher ECDHE-RSA-AES128-SHA </dev/null' ... Keying material exporter: Label: 'EXPORTER-test' Length: 40 bytes Keying material: FE36CFD8B323213AAD9E00716BA6E82310C1C17E912249B5B23C2A64F48C50BEF21CA8B1F271A004 --- DONE :: [ PASS ] :: Command 'openssl s_client -keymatexport EXPORTER-test -keymatexportlen 40 -connect localhost:4433 -cipher ECDHE-RSA-AES128-SHA </dev/null' (Expected 0, got 0) ... :: [ FAIL ] :: Check if exporters match (Assert: 'DD7A15A77B9FA3F6F274FE3A1FD204B94353763C648D17979B726A036F9383A1EE7DCBA945A39110' should equal 'FE36CFD8B323213AAD9E00716BA6E82310C1C17E912249B5B23C2A64F48C50BEF21CA8B1F271A004') :: [ BEGIN ] :: Running 'cat server.out' ... Exporter label: EXPORTER-test Exporter length: 40 Keying material: DD7A15A77B9FA3F6F274FE3A1FD204B94353763C648D17979B726A036F9383A1EE7DCBA945A39110 :: [ PASS ] :: Command 'cat server.out' (Expected 0, got 0) ... TLSv1-2-ECDHE-RSA-AES128-SHA result: FAIL +++ This bug was initially created as a clone of Bug #1289620 +++ Description of problem: Versions of OpenSSL before 1.0.1h have an issue with incorrect digests when interoperating with certain clients. It appears that the bug actually causes OpenSSL on RHEL 7 to violate RFC 5246. The upstream bug report is https://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3319 The one-line patch from upstream that's in 1.0.1h and 1.0.2 is https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=4fdf917 Version-Release number of selected component (if applicable): openssl-1.0.1e-42.el7_1.9 openssl-libs-1.0.1e-42.el7_1.9 Additional info: This issue can trigger interoperability issues with any client (including devices like mobile phones) that support TLS 1.2 but offer older cipher suites. Especially on mobile devices, it's often not possible for the user to configure what ciphers their SSL stack prefers.