Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocspd returns internalError on revoked certificate verification #31

Open
jx6f opened this issue Apr 19, 2018 · 2 comments
Open

ocspd returns internalError on revoked certificate verification #31

jx6f opened this issue Apr 19, 2018 · 2 comments

Comments

@jx6f
Copy link

jx6f commented Apr 19, 2018

How to reproduce: Just request the status of the revoked certificate to ocspd.

Please use X509_REVOKED_get0_revocationDate insted of X509_REVOKED_get0_serialNumber.

X509_REVOKED_get0_serialNumber(entry), thisupd,

@msoltyspl
Copy link

msoltyspl commented May 15, 2018

Can confirm this as well (built against openssl 1.1.0h). Called with -debug, it gives this kind of output

May 15 12:37:15 2018 GMT [30067] ERROR: [pki_ocsp_resp.c:200] [ERROR] Can not create basic entry!
May 15 12:37:15 2018 GMT [30067] ERROR: [response.c:449] [ERROR] Can not add a simple resp into the OCSP response
May 15 12:37:15 2018 GMT [30067] INFO: [response.c:637] [DEBUG] OCSP Response Bytes = 5, HTTP Header Bytes = 181

@mattbodholdt
Copy link
Contributor

Agreed, the above change works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants