#401 OCSP EE url gives an error page
Closed: wontfix 6 years ago Opened 11 years ago by nkinder.

https://bugzilla.redhat.com/show_bug.cgi?id=872742 (Red Hat Certificate System)

Description of problem:

After installing, creating and configuring an OCSP instance, the OCSP EE url
obtained from the service status leads an error page.

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


How reproducible:



Steps to Reproduce:
1. Install ocsp subsystem.
2. Create an instance and configure it.
3. restart the service and get the status of the service.

Actual results:
A web page with the following message

Problem Processing Your Request

The ocsp encountered an unexpected error while processing your request. The
following is a detailed message of the error that occurred.

 Error encountered while rendering a response.

Please consult your local administrator for further assistance. The Certificate
System logs may provide further information.

Expected results:

OSCP EE page

Additional info:

seem to me this is not a defect, there is nothing to browse on the EE services, those are for applications, clients or servers to get validation status, not for a human to browse to, except eventually if trying to mimic what some tools do.
May be the admin or install guide could have a note for the OCSP and several other subsystems, that the list of the init script does not implies a human should browse to all services, and some are for web applications?

This is a bug - not because we expect there to be any output if you browse to these services - but because the error that is being returned indicates another underlying problem.

The error that is returned here indicates that the template file that is needed to output the results cannot be found. This is because the template files (for success, failure and other events are being deployed to the wrong location within the instance. If you look in the system log, you see the following error:

20543.http-bio-8280-exec-1 - [17/Jan/2013:15:49:27 EST] [3] [20] CMSgateway:Could not load template /var/lib/pki/pki-tomcat28/webapps/ocsp/GenSuccess.template error java.io.FileNotFoundException: /var/lib/pki/pki-tomcat28/webapps/ocsp/GenSuccess.template (No such file or directory).
20543.http-bio-8280-exec-1 - [17/Jan/2013:15:49:27 EST] [20] [3] Servlet ocspOCSP: Error outputting template /GenSuccess.template . Error encountered while loading output template..

This points in fact to two problems:
1. The templates are not in the right place.
2. OCSPServet in this case is trying to load the GenSuccess template, which is clearly wrong.

The reason for this is that - while the OCSPServlet is correctly throwing an exception in this case - the exception text reading "OCSPServlet: OCSP request not provided in GET method" - the exception is logged and swallowed up, rather than being reported to the calling functions.

Metadata Update from @nkinder:
- Issue set to the milestone: UNTRIAGED

7 years ago

Metadata Update from @edewata:
- Custom field feature adjusted to ''
- Custom field proposedmilestone adjusted to ''
- Custom field proposedpriority adjusted to ''
- Custom field reviewer adjusted to ''
- Custom field version adjusted to ''
- Issue close_status updated to: wontfix
- Issue set to the milestone: 10.4 (was: UNTRIAGED)
- Issue status updated to: Closed (was: Open)

6 years ago

Metadata Update from @mharmsen:
- Issue set to the milestone: 10.4.6 (was: 10.4)

6 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/972

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata