diff --git a/src/OcspResponder.Core/OcspResponder.cs b/src/OcspResponder.Core/OcspResponder.cs index bb80cdc..dd0d491 100644 --- a/src/OcspResponder.Core/OcspResponder.cs +++ b/src/OcspResponder.Core/OcspResponder.cs @@ -97,7 +97,7 @@ private async Task GetOcspDefinitiveResponse(OcspReq ocspRequest, X509 signatureAlgorithm, await OcspResponderRepository.GetResponderPrivateKey(issuerCertificate), await OcspResponderRepository.GetChain(issuerCertificate), - nextUpdate.UtcDateTime); + DateTimeOffset.UtcNow.UtcDateTime); var ocspResponse = OcspResponseGenerator.Generate(OcspRespStatus.Successful, basicOcspResponse); return ocspResponse; @@ -261,4 +261,4 @@ public OcspResponder(IOcspResponderRepository ocspResponderRepository, IOcspLogg Log = logger; } } -} \ No newline at end of file +}