From 84cc6825b6e56d08092faeb2b8434d8d97044c3f Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 20 May 2020 14:59:20 -0700 Subject: [PATCH] Add clarifying comment. --- certbot-apache/certbot_apache/_internal/prefetch_ocsp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py index 335fb1ab6..0308da92d 100644 --- a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py +++ b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py @@ -150,6 +150,7 @@ class OCSPPrefetchMixin(object): """ self._ensure_ocsp_dirs() + # Ensure cert_path exists before trying to use it. if not os.path.isfile(cert_path): raise OCSPCertificateError("Certificate has been removed from the system.") ocsp_workfile = os.path.join(