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 1859298 - [RFE] Support ECDSA private keys for TLS
Summary: [RFE] Support ECDSA private keys for TLS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: 389-ds-base
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: beta
: 9.1
Assignee: Pierre Rogier
QA Contact: LDAP QA Team
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks: 2096795
TreeView+ depends on / blocked
 
Reported: 2020-07-21 16:16 UTC by mreynolds
Modified: 2023-05-09 08:50 UTC (History)
11 users (show)

Fixed In Version: 389-ds-base-2.2.4-1.el9
Doc Type: Enhancement
Doc Text:
Feature: Support certificates using elliptic curves Reason: ECDSA is a stronger cryptographic algorithm than RSA and some commercial certificate authority relies on it. Result: Now certificate using either ECDSA or RSA keys are supported.
Clone Of:
: 2096795 (view as bug list)
Environment:
Last Closed: 2023-05-09 07:41:32 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 3069 0 None open Support ECDSA private keys for TLS 2021-01-13 15:27:52 UTC
Red Hat Issue Tracker IDMDS-2667 0 None None None 2022-11-30 14:30:50 UTC
Red Hat Product Errata RHBA-2023:2274 0 None None None 2023-05-09 07:41:46 UTC

Description mreynolds 2020-07-21 16:16:27 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/389-ds-base/issue/50010

#### Issue Description
Support ECDSA private keys. This is both:

* Pure ECDSA
* Mixed RSA + ECDSA support

How this looks today is unknown. However, it doesn't work given:

```
/opt/dirsrv/sbin/ns-slapd -d 0 -D /opt/dirsrv/etc/dirsrv/slapd-localhost 
Assertion failure: ((*privkey)->keyType) == rsaKey, at /home/william/development/389ds/ds/ldap/servers/slapd/ssl.c:2893
[1]    12717 abort      /opt/dirsrv/sbin/ns-slapd -d 0 -D /opt/dirsrv/etc/dirsrv/slapd-localhost


```

This is important as it blocks us from using strong future proof cryptographic mechanisms in TLS.

This may be of interest to @mhonek.

Important would be establishment of a ECDSA type in the nss_ssl.py module so we can test this properly and programmatically.

Comment 3 RHEL Program Management 2022-01-21 07:27:14 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 17 bsmejkal 2022-12-12 11:35:07 UTC
As per comment #c15, marking as VERIFIED.

Comment 18 Evgenia Martynyuk 2023-02-27 14:18:21 UTC
Hi Pierre!

I have prepared the Doc Text field for this BZ. Could you please review it:



.Now Directory Server supports ECDSA private keys for TLS.

Previously, Directory server supported only RSA keys. As a conscience, you could not use a stronger cryptographic algorithm for protection of the Directory Server connections. 
With this update, you can use both ECDSA or RSA private keys to secure Directory Server.  


Thanks, 
Evgenia

Comment 19 Pierre Rogier 2023-02-27 14:28:24 UTC
Hi Evgenia,
I think that you meant "As a consequence" instead of "As a conscience"
Except that point, it feels good.
Regards,
  Pierre

Comment 21 errata-xmlrpc 2023-05-09 07:41:32 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 (389-ds-base bug fix and enhancement update), 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-2023:2274


Note You need to log in before you can comment on or make changes to this bug.