thanks for suggestion. Some more questions?
a when I use create ocsp request api, the certificate data must be chain certificated data?
then I should first use get_responder_from_der_chain to get CA url and send ocsp request to url, to get the ocsp response, cache the response.
when client want to ssl handshake
a first get the ocsp response from the cache
b check whether the ocsp valid
c if valid, just set the status, if not, just let the client to start ocsp request normally and we just ngx.timeat to get the new ocsp response and cache.
在 2015年10月10日星期六 UTC+8下午2:59:14,Zi Lin写道: