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 614531 - Add support for PKCS#8 encoded PEM RSA private key files
Summary: Add support for PKCS#8 encoded PEM RSA private key files
Status: CLOSED DUPLICATE of bug 631000
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nss
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Elio Maldonado Batiz
QA Contact: BaseOS QE Security Team
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-14 17:02 UTC by Rich Megginson
Modified: 2010-10-14 21:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-10-14 21:23:39 UTC
Target Upstream Version:

Attachments (Terms of Use)
0001-Add-support-for-PKCS-8-encoded-private-keys.patch (8.49 KB, patch)
2010-07-14 17:02 UTC, Rich Megginson
no flags Details | Diff
0001-Do-not-define-SEC_SkipTemplate.patch (1.04 KB, patch)
2010-07-14 17:02 UTC, Rich Megginson
no flags Details | Diff
patch for spec file (2.88 KB, patch)
2010-07-14 17:02 UTC, Rich Megginson
no flags Details | Diff

Description Rich Megginson 2010-07-14 17:02:02 UTC
Created attachment 431844 [details]

These are PEM files which in ASCII begin with the header


The code already supports PKCS#1 format BEGIN RSA PRIVATE KEY but the openssl req -x509 tool creates private keys with the BEGIN PRIVATE KEY format.

There is a second patch attached - with mock and the latest RHEL-6 bits, nss did not build because SEC_SkipTemplate is defined more than once.  Not sure why we don't see this problem with the regular RHEL-6 builds in brew, so I don't know if it is needed, but I've attached it anyway.

Comment 1 Rich Megginson 2010-07-14 17:02:21 UTC
Created attachment 431845 [details]

Comment 2 Rich Megginson 2010-07-14 17:02:43 UTC
Created attachment 431846 [details]
patch for spec file

Comment 4 Elio Maldonado Batiz 2010-10-14 21:23:39 UTC

*** This bug has been marked as a duplicate of bug 631000 ***

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