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 1857933 - CA Installation is failing with ncipher v12.30 HSM
Summary: CA Installation is failing with ncipher v12.30 HSM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pki-core
Version: 8.3
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: rc
: 8.0
Assignee: Alex Scheel
QA Contact: PKI QE
Florian Delehaye
URL:
Whiteboard:
: 1847312 1857954 (view as bug list)
Depends On:
Blocks: 1842946
TreeView+ depends on / blocked
 
Reported: 2020-07-16 18:33 UTC by Pritam Singh
Modified: 2020-11-04 03:16 UTC (History)
9 users (show)

Fixed In Version: pki-core-10.6-8030020200818221307.5ff1562f
Doc Type: Known Issue
Doc Text:
.`pki-core` fails when `sslserver` certificates reside on the HSM `pki-core` now requires exporting the subsystem SSL certificate chain from the Network Security Services (NSS) database of the PKI instance, however the automatic export does not correctly handle token name qualifications for the `sslserver` certificate nickname. Therefore, if the certificates reside on the HSM, the NSS database is not opened using the specified HSM token and the export fails. As a consequence, installing PKI instances and using existing PKI instances fails with HSM-backed `sslserver` certificates.
Clone Of:
Environment:
Last Closed: 2020-11-04 03:15:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 8 Pritam Singh 2020-07-20 16:59:51 UTC
*** Bug 1857954 has been marked as a duplicate of this bug. ***

Comment 14 Dinesh Prasanth 2020-07-24 14:26:20 UTC
This is the correct commit information. Sorry for the noise!

> Commit information:
> ===================

commit 0c41ac72c47f34b3dc1293768e656a03d3d283b5
Author: Alexander Scheel <ascheel>
Date:   Tue Jul 21 16:09:44 2020 -0400

    Support exporting CA certificate from HSM installs
    
    When installing an installation with subsystem SSL certificate residing
    on the HSM, export will fail because the NSS DB isn't opened with the
    specified HSM token. When the subsystem SSL certificate resides on the
    HSM, when we go to export the CA certificate, we must explicitly specify
    this token.
    
    Otherwise, subsystem startup will fail with an error like:
    
        systemd[1]: Starting PKI Tomcat Server topology-02-CA...
        pki-server[72759]: Enter password for NHSM6000-OCS
        pki-server[72759]: ERROR: Certificate not found: NHSM6000-OCS:Server-Cert cert-topology-02-CA
        pki-server[72759]: ERROR: Command: pki -d /etc/pki/topology-02-CA/alias -C /tmp/tmpptxlpn4k/password.txt pkcs12-export --pkcs12 /tmp/tmp1idfd1am/sslserver.p12 --password-file /tmp/tmpc5y2bhjo/password.txt --no-key NHSM6000-OCS:Server-Cert cert-topology-02-CA
        systemd[1]: pki-tomcatd: Control process exited, code=exited status=255
        systemd[1]: pki-tomcatd: Failed with result 'exit-code'.
    
    This is related to the earlier PR enforcing certificate verification
    in PKIConnection, pr-#443.
    
    Resolves: rh-bz#1857933
    
    Signed-off-by: Alexander Scheel <ascheel>

Comment 31 Alex Scheel 2020-08-18 13:11:10 UTC
*** Bug 1847312 has been marked as a duplicate of this bug. ***

Comment 37 errata-xmlrpc 2020-11-04 03:15:45 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 (Moderate: pki-core:10.6 and pki-deps:10.6 security, 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/RHSA-2020:4847


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