I’m contacting the list after doing some Google-foo and not finding
anything - not sure if this is due to my searching skills, or because
nobody ever asked about this… pardon me if it’s a known issue, and a
to a relevant resource would be appreciated in such a case.
I’m using Nginx as a reverse HTTP proxy to Tomcat, primarily for the
purpose of doing OCSP stapling.
When Nginx starts for the first time, and there’s no cached OCSP
the first client to try an OCSP will fail; I understand that this is by
design, and I’ve overcome it by simply ‘warming’ the cached manually by
using OpenSSL’s s_client… of course I’ll be happy to learn there’s a
to make Nginx block and get OCSP response if there’s a cache miss (I
understand that blocking every time in case of OCSP server being down
help performance much, but I guess cache can be negative in such a case,
instead of a miss, and maybe this is already the case…)
Anyways, that’s not the main issue I have.
The main issue I have is that when a revoked certificate is being used
Nginx, and an OCSP is being conducted against the server port where this
certificate is served.
Watching the packets arriving from ocsp.digicert.com via Wireshark, I
the OCSP response saying that the certificate is revoked (so, Nginx
to be querying the OCSP server fine?), and I also see this in Nginx’s
2014/04/07 17:44:41 [error] 27005#0: certificate status “revoked” in the
OCSP response while requesting certificate status, responder:
Yet, the OpenSSL s_client, even after multiple attempts (so the cache
should be “warm”), returns that no OCSP response was returned from the
Naturally, I would expect the response to be proxied by Nginx back to
What am I missing / doing wrong?
Thanks a lot!