Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1466495

Summary: TPS installation on shared instance fails in FIPS/HSM environment
Product: Red Hat Enterprise Linux 7 Reporter: Roshni <rpattath>
Component: pki-coreAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED NOTABUG QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: arubin, mharmsen
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-30 19:18:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
CA installation file
none
KRA installation file
none
TKS installation file
none
TPS installation file
none
pkispawn TPS error none

Description Roshni 2017-06-29 19:57:25 UTC
Created attachment 1292955 [details]
CA installation file

Description of problem:
TPS installation on shared instance fails in FIPS/HSM environment

Version-Release number of selected component (if applicable):
pki-ca-10.4.1-10.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Attaching the installation files used for CA, KRA, TKS,TPS and the pkispawn error message
2.
3.

Actual results:


Expected results:


Additional info:
journalctl messages

Jun 29 14:55:18 pki1.example.com server[901]: Exception in thread "http-bio-30042-exec-7" java.lang.NoClassDefFoundError: org/mozilla/jss/ssl/SSLAlertEvent
Jun 29 14:55:18 pki1.example.com server[901]: at org.dogtagpki.server.PKIServerSocketListener.alertSent(PKIServerSocketListener.java:96)
Jun 29 14:55:18 pki1.example.com server[901]: at org.apache.tomcat.util.net.jss.TomcatJSS.alertSent(TomcatJSS.java:59)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SSLSocket.fireAlertSentEvent(SSLSocket.java:775)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SocketBase.socketClose(Native Method)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SocketBase.close(SocketBase.java:105)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SSLSocket.close(SSLSocket.java:743)
Jun 29 14:55:18 pki1.example.com server[901]: at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:328)
Jun 29 14:55:18 pki1.example.com server[901]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Jun 29 14:55:18 pki1.example.com server[901]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Jun 29 14:55:18 pki1.example.com server[901]: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Jun 29 14:55:18 pki1.example.com server[901]: at java.lang.Thread.run(Thread.java:748)
Jun 29 14:55:18 pki1.example.com server[901]: Exception in thread "http-bio-30042-exec-8" java.lang.NoClassDefFoundError: org/mozilla/jss/ssl/SSLAlertEvent
Jun 29 14:55:18 pki1.example.com server[901]: at org.dogtagpki.server.PKIServerSocketListener.alertSent(PKIServerSocketListener.java:96)
Jun 29 14:55:18 pki1.example.com server[901]: at org.apache.tomcat.util.net.jss.TomcatJSS.alertSent(TomcatJSS.java:59)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SSLSocket.fireAlertSentEvent(SSLSocket.java:775)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SocketBase.socketClose(Native Method)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SocketBase.close(SocketBase.java:105)
Jun 29 14:55:18 pki1.example.com server[901]: at org.mozilla.jss.ssl.SSLSocket.close(SSLSocket.java:743)
Jun 29 14:55:18 pki1.example.com server[901]: at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:328)
Jun 29 14:55:18 pki1.example.com server[901]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Jun 29 14:55:18 pki1.example.com server[901]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Jun 29 14:55:18 pki1.example.com server[901]: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Jun 29 14:55:18 pki1.example.com server[901]: at java.lang.Thread.run(Thread.java:748)

Comment 2 Roshni 2017-06-29 19:57:58 UTC
Created attachment 1292956 [details]
KRA installation file

Comment 3 Roshni 2017-06-29 19:58:19 UTC
Created attachment 1292957 [details]
TKS installation file

Comment 4 Roshni 2017-06-29 19:58:41 UTC
Created attachment 1292958 [details]
TPS installation file

Comment 5 Roshni 2017-06-29 19:59:09 UTC
Created attachment 1292959 [details]
pkispawn TPS error

Comment 6 Roshni 2017-06-30 19:18:52 UTC
TKS installation config file was missing the following params

pki_hsm_enable=True
pki_hsm_libfile=/opt/nfast/toolkits/pkcs11/libcknfast.so
pki_hsm_modulename=nfast

and the audit signing cert was not created under HSM. Once I fixed the above TPS installation went through fine and the agent pages are accessible for all subsystems. tpsclient token enroll/format were successful too.