Topic: [SOLVED] Stand-alone OCSP request without TLS connection possible?
Hello,
for my work I need to query an OCSP responder to verify whether a certificate has been revoked or not.
I understand that wolfSSL embedded SSL brings OCSP functionality, but as I see it, it's intended to be used only in a way of "OCSP stapling" (meaning that the OCSP request/response is sent during the TLS handshake).
The only OCSP-related functions mentioned in the manual are:
wolfSSL_CTX_OCSP_set_options
wolfSSL_CTX_OCSP_set_override_url
Internally, wolfSSL uses a lot more OCSP-related functions to query a responder and verify the response. With the correct #includes, I was able to build a working OCSP request without a TLS handshake.
My problem now is that the signature of the OCSP response is only verified if the responder includes a/its certificate.
I want to verify the signature from a response against a certificate which is already on my 'client' and not packed with the response.
I know I could change the code for verification to be available inside my application, but I guess that's not what WolfSSL has intended.
Any suggestions or thoughts on this are welcome!
Regards,
- Daniel