Failed OCSP Response with CertHash extension #1052
Replies: 10 comments
-
|
Is your client requesting the extension? |
Beta Was this translation helpful? Give feedback.
-
|
Request-Example: And here's part of the output: |
Beta Was this translation helpful? Give feedback.
-
|
The response Cert Status is unknown. CertHash is for positive proof of issuance. If the cert is unknown to the responder, there is no known certificate issued and hence a proof of issuance would be faulty (and technically there is no certificate for which the hash can be calculated). |
Beta Was this translation helpful? Give feedback.
-
|
And this is actually part of the issue. Till now (as we were still using v6.0), these specific certificates (which were updated regularly and are downloaded from the EJCBA web UI - which should means they are practically known by the responder) resulted successful calls i.e. a correct OCSP responses including CertHash. As mentioned above, we tried to migrate around 2024 to v8.0, where we noticed the showstopper/regression (see #523 ), we assumed now as years passed since then that the regression was fixed but it seems there could be a bigger underling issue. So looking at the symptoms/results, we can assume one of two things (or even maybe both):
View under v6.X
View under v9.X
Edit under v9.X
|
Beta Was this translation helpful? Give feedback.
-
|
#523 doesn't look relevant in this case as you are using a dedicated OCSP signer and are not signing the response directly with the CA. That issue was only related to direct OCSP signing by the CA, not a dedicated OCSP responder. I am assuming this is for a PKI under the German digital signature law, as CertHash is only used in this context, right? |
Beta Was this translation helpful? Give feedback.
-
|
Right. |
Beta Was this translation helpful? Give feedback.
-
|
Perhaps I could temp you with an Enterprise SLA in that case? Log files should show in detail what happens when a query comes in and the certificate is looked up. |
Beta Was this translation helpful? Give feedback.
-
|
To be honest, we're using EJBCA as a fake/mock-server in order to test our implementations against requirements that the other parties involved in the project develop on their side. The issue was reported, as the update to v9 resulted our internal tests failing but the project-wide ones went well So I'm not sure to what extent I'd be able to convince involved people that another SLA would solve the regression… |
Beta Was this translation helpful? Give feedback.
-
|
Sure that makes sense. I checked, and we do have an automatic regression test for CertHash, so the functionality is working in our test case. In your case, the issue doesn't seem to be CertHash, but that the certificate is considered "unknown". If the certificate is in the database, issued by the correct CA, it is this issue you have, that it can not find the certificate. Looking at a debug log in server.log should give you detailed information what is happening when it looks up the certificate to respond for. |
Beta Was this translation helpful? Give feedback.
-
|
Converted to discussion as server logs have to be analyzed to see if it is a code issue or not. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Bug
OCSP extensions were dropped at some point 6.0-8.0 (which was noted in #523 ) and seem to be not functioning as expected (or misconfigured?) in the latest docker image 9.3.7.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The response would return the expected OCSP extension (in this situation it's Certificate Hash).
Screenshots and Logs
Product Deployment
Desktop
Beta Was this translation helpful? Give feedback.
All reactions