From ae76f2d3b5baed6ed8c95b47a9f443310215d15c Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Thu, 30 Apr 2020 01:20:15 +0300 Subject: [PATCH] Fix the OCSP api call --- certbot-apache/certbot_apache/_internal/prefetch_ocsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py index 6a3f04fd2..3c3778c41 100644 --- a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py +++ b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py @@ -153,7 +153,7 @@ class OCSPPrefetchMixin(object): if not os.path.isfile(cert_path): raise OCSPCertificateError("Certificate has been removed from the system.") - if not handler.ocsp_revoked_by_paths(cert_path, chain_path, ocsp_workfile): + if not handler.ocsp_revoked_by_paths(cert_path, chain_path, 10, ocsp_workfile): # Guaranteed good response cert_sha = apache_util.certid_sha1(cert_path) # dbm.open automatically adds the file extension