dogtagpki / pki

The Dogtag Certificate System is an enterprise-class Certificate Authority (CA) which supports all aspects of certificate lifecycle management, including key archival, OCSP and smartcard management.
https://www.dogtagpki.org
GNU General Public License v2.0
346 stars 133 forks source link

Rest endpoint /ca/rest/certrequests/{id} returns 500 #3023

Open pki-bot opened 3 years ago

pki-bot commented 3 years ago

This issue was migrated from Pagure Issue #2905. Originally filed by mharmsen (@mharmsen) on 2018-01-17 18:40:42:


illegalhex opened this Issue on Oct 10, 2017

t seems on the 10.3.X branch of code the endpoint /ca/rest/certrequests/{id} will return a 500 error. On the 10.2.x branch, tested on Fedora 23, this call would return the correct response of the cert request with the corresponding id. The error on 10.3.x was observed on Fedora 24,25, and 26 by following the process outlined on http://pki.fedoraproject.org/wiki/Quick_Start.

Is there something missing in the documentation that is needed to make the api call functional like a specific version of a java library and/or tomcat that isn't specified in the dogtag-pki deb?

Link to the http error and the tomcat error output: https://gist.github.com/illegalhex/3e5497d18518e58a9c1ecdd49acd0d74

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2018-01-17 18:41:50

edewata added a commit that referenced this issue on Oct 25, 2017

Consolidated PKCS 7 header and footer for Java.

The duplicate PKCS 7 header and footer literals for Java have been consolidated into the PKCS7 class.

https://pagure.io/dogtagpki/issue/2790

Change-Id: I50dab5ab9b3a05cd9ff3de9feae20fd4459badd3

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2018-01-17 18:41:57

Metadata Update from @mharmsen: