> Is there any documentation on how I can programmatically
> create OCSP
> requests, ready to be sent on the wire?
> Thanks in advance!
Well, you should look at openssl.org and the openssl source
code. Here I can give you a small code snippet which should
give you a basic idea of what you have to do (error handling
code is omitted for better readability). My advice is to
compile openssl with the debug option and trace it.