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 - TPS installation on shared instance fails in FIPS/HSM environment
Summary: TPS installation on shared instance fails in FIPS/HSM environment
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pki-core
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: RHCS Maintainers
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-29 19:57 UTC by Roshni
Modified: 2020-10-04 21:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-30 19:18:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
CA installation file (2.98 KB, text/plain)
2017-06-29 19:57 UTC, Roshni
no flags Details
KRA installation file (3.05 KB, text/plain)
2017-06-29 19:57 UTC, Roshni
no flags Details
TKS installation file (2.38 KB, text/plain)
2017-06-29 19:58 UTC, Roshni
no flags Details
TPS installation file (2.87 KB, text/plain)
2017-06-29 19:58 UTC, Roshni
no flags Details
pkispawn TPS error (27.83 KB, text/plain)
2017-06-29 19:59 UTC, Roshni
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github dogtagpki pki issues 2893 0 None None None 2020-10-04 21:34:43 UTC

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.


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