Bug 655069
Summary: | [RFE] OpenLDAP should support SHA2 algorithms | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Joshua Roys <roysjosh> | ||||
Component: | openldap | Assignee: | Jan Vcelak <jvcelak> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.5 | CC: | jnansi, jplans, jvcelak, mpoole, mvadkert, nc, ovasik, prc, rdassen, tmraz, tsmetana | ||||
Target Milestone: | rc | Keywords: | FutureFeature, Patch, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-06-01 21:09:14 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 676384 | ||||||
Bug Blocks: | 554476 | ||||||
Attachments: |
|
Description
Joshua Roys
2010-11-19 14:35:18 UTC
Created attachment 461645 [details]
backport
Here's the backport. Build tested only. Unfortunately I can't test this very easily right now- our testing environment has gone down...
Installing the openldap packages I built causes ldapsearch to work... but nss_ldap still fails with the same error. New steps to reproduce (switching from a working, non-ssl/tls setup to a broken setup): In /etc/ldap.conf, - change "uri ldap://ldap/" to "uri ldaps://ldap/" - add a line "debug 1023" Ensure "ldap" is on the appropriate lines in /etc/nsswitch.conf (passwd, shadow, group, ...). Run `getent passwd` CTRL-C Annoyingly, without the "debug" line, nss_ldap claims to be unable to contact the ldap server. I'm going to try rebuilding the nss_ldap package tomorrow. Rebuilding the nss_ldap package against my openldap packages gets LDAP auth over SSL/TLS to work (when the CA/server cert has a SHA2 signature). Tested successfully on four machines. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. Looks to me like the proposed patch has significant potential implications, notably by exposing new ciphers (not verified). I could easily imagine performance regressions. IMHO, such a change would deserve a release note during a minor release. It would need to be tested, but I'd be reassured by some simpler change like: + EVP_add_digest(EVP_sha256()); WIth best regards, -- Pierre Carrier, Technical Support Engineer Production Support, EMEA office Global Support Services Red Hat, Inc. The proposed patch will not add any new ciphersuites to the SSL library - they have to be explicitly added to the SSL library ciphersuite list. It will just allow these hashes in the certificates which cannot result in performance regressions. Note that this problem is solved already by the openssl update in RHEL 5.7. Tomas, Do you mean openssl-0.9.8e-12.el5_5.7 ? I still see the same issue with this update. # grep -i reqcert /etc/openldap/ldap.conf TLS_REQCERT always # rpm -q openssl openssl-0.9.8e-12.el5_5.7 # ldapsearch -v -x -H ldaps://$HOST/ -b dc=ctisl,dc=gtri,dc=org '(uid=foo)' ldap_initialize( ldaps://$HOST/ ) ldap_bind: Can't contact LDAP server (-1) additional info: error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown message digest algorithm No, the update was not yet released publicly. It will be in the openssl-0.9.8e-18.el5 package. I apologize for the confusion. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. (In reply to comment #13) > Note that this problem is solved already by the openssl update in RHEL 5.7. Tomas, if I've understood you correctly, the OpenSSL change for bug #676384 is in itself sufficient to address this issue, and no change to the OpenLDAP packages is required to support SHA2 algorithms. If that's indeed the case, can you please mark this entry as CLOSED DUPLICATE of 676384? Yes. *** This bug has been marked as a duplicate of bug 676384 *** |