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 1678680

Summary: if set enableOCSP is true, single shared instance doesn't work for some cases
Product: Red Hat Enterprise Linux 8 Reporter: Deepak Punia <dpunia>
Component: pki-coreAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED UPSTREAM QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: ascheel
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-16 13:26:37 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:

Description Deepak Punia 2019-02-19 11:28:04 UTC
Description of problem:
enableOCSP=true is not supported in few cases on shared instance

Version-Release number of selected component (if applicable):
[root@pki1 ~]# pki --version
PKI Command-Line Interface 10.5.9-12.el7_6

How reproducible:
1> setup single shared instance. 
2> EnableOCSP parameter:-
[root@pki1 ~]# vim /etc/pki/pki-tomcat/server.xml
......
           enableOCSP="true"
           ocspResponderURL="http://pki1.example.com:8080/ca/ocsp"
           ocspResponderCertNickname="ocspSigningCert cert-pki-tomcat CA"
           ocspCacheSize="-1"

[root@pki1 ~]# systemctl restart pki-tomcatd
[root@pki1 ~]# pki -d /opt/pki/certdb -P http -p 8080 -h pki1.example.com -c SECret.123 -n 'PKI CA Administrator for Example.Org' client-cert-request UID=CA_AgentE,E=CA_AgentE,CN=CA_AgentE,OU=IDMQE,C=US --profile caUserCert
-----------------------------
Submitted certificate request
-----------------------------
  Request ID: 21
  Type: enrollment
  Request Status: pending
  Operation Result: success
[root@pki1 ~]# pki -d /opt/pki/certdb -P http -p 8080 -h pki1.example.com -c SECret.123 -n 'PKI CA Administrator for Example.Org' cert-request-review 21 --action approve
PKIException: Bad Request

[root@pki1 ~]# pki -d /opt/pki/certdb -P http -p 8080 -h pki1.example.com -c SECret.123 -n 'PKI CA Administrator for Example.Org' client-cert-request UID=CA_AgentE,E=CA_AgentE,CN=CA_AgentE,OU=IDMQE,C=US --profile caUserCert
-----------------------------
Submitted certificate request
-----------------------------
  Request ID: 24
  Type: enrollment
  Request Status: pending
  Operation Result: success
[root@pki1 ~]# pki -d /opt/pki/certdb -P http -p 8080 -h pki1.example.com -c SECret.123 -n 'PKI CA Administrator for Example.Org' cert-request-review 24 --action approve
FATAL: SSL alert received: BAD_CERTIFICATE
IOException: SocketException cannot write on socket
[root@pki1 ~]# 

Actual results: getting fail for some of the CI on shared instance


Expected results:it should successful