We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 363a7f7 commit fe09f6dCopy full SHA for fe09f6d
rootfs/etc/nginx/lua/certificate.lua
@@ -120,10 +120,14 @@ end
120
-- While this has no functional implications, it generates extra load on OCSP servers.
121
local function fetch_and_cache_ocsp_response(uid, der_cert)
122
local url, err = ocsp.get_ocsp_responder_from_der_chain(der_cert)
123
- if not url then
+ if not url and err then
124
ngx.log(ngx.ERR, "could not extract OCSP responder URL: ", err)
125
return
126
end
127
+ if not url and not err then
128
+ ngx.log(ngx.DEBUG, "no OCSP responder URL returned")
129
+ return
130
+ end
131
132
local request
133
request, err = ocsp.create_ocsp_request(der_cert)
0 commit comments