diff --git a/src/index.js b/src/index.js index 89b5a94..4be63b1 100644 --- a/src/index.js +++ b/src/index.js @@ -831,8 +831,8 @@ if (process.serverConfig.secure) { ocsp.getOCSPURI(cert, function (err, uri) { if (err) return callback(err); - var req = ocsp.request.generate(cert, issuer); - var options = { + const req = ocsp.request.generate(cert, issuer); + const options = { url: uri, ocsp: req.data };