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.
Created attachment 1146506[details]
packet capture for connections with different signatures
Description of problem:
When using GnuTLS server with client certificates and a client that prefers strong hashes like SHA-512 or SHA-384 will be rejected by server, even though the server advertises support for SHA-384 and SHA-512 in Certificate Request.
Version-Release number of selected component (if applicable):
gnutls-2.8.5-19.el6_7.x86_64
How reproducible:
always
Steps to Reproduce:
1. start gnutls server with client certificates
2. connect to it with restrictive client
3.
Actual results:
Alert(fatal, handshake_failure)
Expected results:
successful connection
Additional info:
there are two solutions to the problem, either implementing support for other hashes or not advertising support for hashes that are not supported. Leaving code as is makes it RFC non compliant.
Comment 5Nikos Mavrogiannopoulos
2016-05-26 11:27:01 UTC
Of course there are solutions, but they have to be put in perspective. The plan is to address critical TLS 1.2 issues that will affect our use-case, rsyslog. Not to rewrite the best TLS 1.2 implementation out there based on legacy code.
Comment 6Nikos Mavrogiannopoulos
2016-05-27 13:55:35 UTC
Re-opening as this can be addressed by the server not advertising unsupported hashes on certificate request.
Comment 8Nikos Mavrogiannopoulos
2016-08-09 12:17:25 UTC
I'm unable to use the reproducer for testing this request. I've verified manually on the 2.12.x rebase, using tcpdump, that the only hashes advertised on a certificate request are the sha1 and sha256 hashes.
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/RHSA-2017-0574.html
Created attachment 1146506 [details] packet capture for connections with different signatures Description of problem: When using GnuTLS server with client certificates and a client that prefers strong hashes like SHA-512 or SHA-384 will be rejected by server, even though the server advertises support for SHA-384 and SHA-512 in Certificate Request. Version-Release number of selected component (if applicable): gnutls-2.8.5-19.el6_7.x86_64 How reproducible: always Steps to Reproduce: 1. start gnutls server with client certificates 2. connect to it with restrictive client 3. Actual results: Alert(fatal, handshake_failure) Expected results: successful connection Additional info: