Closed ib-mlatin closed 2 years ago
Second one having exactly the same problem. Both libpki and ocspd have been self compiled, checkout out from Github (master branch).
My $0.02... A new libpki argument PKI_DATA_FORMAT was introduced as 2nd arg to several X509 functions with the current master branch of libpki (something 0.9.x). Current master branch of ocspd appears to use a fixed value of -1 (instead of a default value PKI_DATA_FORMAT_UNKNOWN) as value to the new function arguments. I replaced all "-1" in PKIX509* calls with PKI_DATA_FORMAT_UNKNOWN in config.c, response.c and crl.c. At first glance, I get much better results now. Can someone please confirm this?
Confirm this works on FreeBSD 12.2, openssl-1.1.1.i .
Confirm this works on FreeBSD 12.2, openssl-1.1.1.i .
I tried this on Debian 10.8.0 64-bit version. The valid/good ocsp response works fine but the response to a revoked certificate is invalid. OpenSSL ocsp tool warna the internal ocsp server error. The log shows no detailed response
OCSPD fails to load any CA I provide in any method. I have verified that the CAs are completely valid and "openssl x509" reads them perfectly. All that OCSPD mentions is that it "could not parse cert" or "Can not get CA cert". See below for both log entries and my root CA file.
Using caCertUrl
Using caCertValue
Current 000-ibRootCA.xml config (Certificate removed)