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 798054 - GNUtls needs to support PKCS#8 files, automatically
Summary: GNUtls needs to support PKCS#8 files, automatically
Keywords:
Status: CLOSED DUPLICATE of bug 745242
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnutls
Version: 6.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-27 22:48 UTC by Erinn Looney-Triggs
Modified: 2012-02-28 21:08 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-28 21:08:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Erinn Looney-Triggs 2012-02-27 22:48:12 UTC
Description of problem:
certmonger issues files in PKCS #8 format by default on RHEL 6 (5 as well I believe but haven't tested) hosts, when tied in via IPA to a PKI infrastructure that means all you are getting is PKCS #8 format (unless there are controls in certmonger I am overlooking). Programs such as rsyslog can't handle PKCS#8 format, because the version of gnutls in RHEL 6 doesn't support automatic handling of those certificates. This problem was fixed in gnutls 2.12.0, so a backport would be necessary. 

Or certmonger needs to be fixed to allow the default format to be changed.

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

gnutls-2.8.5-4.el6.x86_64
certmonger-0.50-3.el6.x86_64

How reproducible:
Use ipa-getcert or any other cermonger front end (selfsign-getcert works as well) to generate a key and a certificate. Attempt to load said items with a program like rsyslog, rsyslog will no longer crash (that bug was fixed) but it won't be able to open the certificates (actually just the key is the problem). 

A bit of a reference is this thread:
https://lists.gnu.org/archive/html/help-gnutls/2011-10/msg00004.html

Comment 1 Erinn Looney-Triggs 2012-02-27 23:00:28 UTC
gbutls-cli also works as a good test of how it (erm) doesn't work:

gnutls-cli --x509cafile /etc/pki/certmaster/ca.cert --x509keyfile
foo.example.com.pem --x509certfile foo.example.com.cert -p 514
bar.example.com

Make sure the key file is in pkcs 8 format.

Comment 2 Tomas Mraz 2012-02-28 21:08:33 UTC

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


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