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.

Bug 1124827

Summary: RFE: Enable ECDHE support in sendmail
Product: Red Hat Enterprise Linux 7 Reporter: Morten Stevens <ms>
Component: sendmailAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Roman Žilka <rzilka>
Severity: unspecified Docs Contact: Lenka Kimlickova <lkimlick>
Priority: high    
Version: 7.0CC: amahdal, bressers, hkario, jskarvad, pvrabec, ralston, redhat-bugzilla, rupatel, rzilka, salmy, thozza, tmraz
Target Milestone: rcKeywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sendmail-8.14.7-5.el7 Doc Type: Release Note
Doc Text:
*Sendmail* now supports ECDHE This update adds the Elliptic Curve Diffie-Hellman Ephemeral Keys (ECDHE) support to Red Hat Enterprise Linux 7 *Sendmail*. ECDHE is a variant of the Diffie-Hellman protocol that uses elliptic curve cryptography. It is an anonymous key agreement protocol that allows two parties to establish a shared secret over an insecure channel.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 12:42:36 UTC Type: Bug
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:    
Bug Blocks: 1057566, 1191019, 1289025, 1298243, 1305230, 1393869    
Attachments:
Description Flags
Backported feature none

Description Morten Stevens 2014-07-30 12:15:06 UTC
Description of problem:

Please enable ECDHE support for RHEL 7 as we have it for Fedora.
See: http://pkgs.fedoraproject.org/cgit/sendmail.git/commit/?id=509e9c8c3986e14a5fa698264f6b15a4ba2adb5f

Version-Release number of selected component (if applicable):

sendmail-8.14.7-4.el7.x86_64

Comment 2 Jaroslav Škarvada 2014-07-30 12:30:12 UTC
I am not sure whether this will get in, please escalate it through the support channel to give it prio.

Comment 5 James Ralston 2016-09-21 17:28:29 UTC
We want this as well. I'll escalate through our support channels.

Comment 8 Jaroslav Škarvada 2016-09-27 15:27:21 UTC
Created attachment 1205272 [details]
Backported feature

Unfortunately sendmail version in RHEL-7.3 is too old, thus the patch from the comment 0 is not enough and we need to backport the support. Full patch is attached.

Comment 10 Jaroslav Škarvada 2016-09-27 15:31:54 UTC
Scratch build for testing (unsupported):
http://people.redhat.com/jskarvad/rhbz1124827/

Comment 11 Jaroslav Škarvada 2016-09-27 15:32:52 UTC
(In reply to Jaroslav Škarvada from comment #8)
> Created attachment 1205272 [details]
> Backported feature
> 
> Unfortunately sendmail version in RHEL-7.3 is too old, thus the patch from
> the comment 0 is not enough and we need to backport the support. Full patch
> is attached.

It needs to be applied together with the patch from the comment 0.

Comment 18 Roman Žilka 2017-04-21 07:23:58 UTC
QA: Verified on all archs.

********** sendmail-8.14.7-4.el7 (faulty):

# for i in $(openssl ciphers|sed 's/:/\n/g'); do echo QUIT | openssl s_client -cipher "$i" -starttls smtp -connect localhost:25 2>&1 | grep 'Cipher\s*: [^0]'; done
    Cipher    : ECDH-ECDSA-AES256-GCM-SHA384
    Cipher    : ECDH-ECDSA-AES256-SHA384
    Cipher    : ECDH-ECDSA-AES256-SHA
    Cipher    : ECDH-ECDSA-AES128-GCM-SHA256
    Cipher    : ECDH-ECDSA-AES128-SHA256
    Cipher    : ECDH-ECDSA-AES128-SHA
    Cipher    : ECDH-ECDSA-DES-CBC3-SHA
    Cipher    : ECDH-ECDSA-RC4-SHA

********** sendmail-8.14.7-5.el7 (fixed):

# for i in $(openssl ciphers|sed 's/:/\n/g'); do echo QUIT | openssl s_client -cipher "$i" -starttls smtp -connect localhost:25 2>&1 | grep 'Cipher\s*: [^0]'; done
    Cipher    : ECDHE-ECDSA-AES256-GCM-SHA384
    Cipher    : ECDHE-ECDSA-AES256-SHA384
    Cipher    : ECDHE-ECDSA-AES256-SHA
    Cipher    : ECDH-ECDSA-AES256-GCM-SHA384
    Cipher    : ECDH-ECDSA-AES256-SHA384
    Cipher    : ECDH-ECDSA-AES256-SHA
    Cipher    : ECDHE-ECDSA-AES128-GCM-SHA256
    Cipher    : ECDHE-ECDSA-AES128-SHA256
    Cipher    : ECDHE-ECDSA-AES128-SHA
    Cipher    : ECDH-ECDSA-AES128-GCM-SHA256
    Cipher    : ECDH-ECDSA-AES128-SHA256
    Cipher    : ECDH-ECDSA-AES128-SHA
    Cipher    : ECDHE-ECDSA-DES-CBC3-SHA
    Cipher    : ECDH-ECDSA-DES-CBC3-SHA
    Cipher    : ECDHE-ECDSA-RC4-SHA
    Cipher    : ECDH-ECDSA-RC4-SHA

Comment 26 errata-xmlrpc 2017-08-01 12:42:36 UTC
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://access.redhat.com/errata/RHBA-2017:2197