Bug 614531

Summary: Add support for PKCS#8 encoded PEM RSA private key files
Product: Red Hat Enterprise Linux 6 Reporter: Rich Megginson <rmeggins>
Component: nssAssignee: Elio Maldonado Batiz <emaldona>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: dpal
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-14 17:23:39 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
patch for spec file none

Description Rich Megginson 2010-07-14 13:02:02 EDT
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 13:02:21 EDT
Created attachment 431845 [details]
Comment 2 Rich Megginson 2010-07-14 13:02:43 EDT
Created attachment 431846 [details]
patch for spec file
Comment 4 Elio Maldonado Batiz 2010-10-14 17:23:39 EDT

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