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 1415596 - [RFE] Allow certutil basic constraints to be specified on the command line
Summary: [RFE] Allow certutil basic constraints to be specified on the command line
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss
Version: 7.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: nss-nspr-maint
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 1420851
TreeView+ depends on / blocked
 
Reported: 2017-01-23 08:28 UTC by Roman Bobek
Modified: 2020-09-10 10:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-31 14:36:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 671088 0 -- NEW Allow certutil basic constraints to be specified on the command line 2020-04-27 18:41:01 UTC

Description Roman Bobek 2017-01-23 08:28:33 UTC
Description of problem:
When writing tests, the customer has to pipe in a series of nearly indecipherable numbers to certutil's stdin to create a cert with a basic constraints extension (see tests/chains/chains.sh).

The proposal is to add the following parameters:

    --ca                    : sets the CA constraint to true
    --pathLenConstraint <x> : sets the path length constraint
    --invalid               : do not prohibit the creation of
                              a syntactically-valid but
                              semantically-invalid certificate.

The --invalid flag would be used to allow the creation of invalid certificates in order to test NSS's handling of such invalid certificates.


How reproducible:
Always


Additional info:
There was an upstream BZ opened for this request, but the functionality was not implemented:
https://bugzilla.mozilla.org/show_bug.cgi?id=671088


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