From 2d9ffa3a9c96d857c129e3547c401b433a45c539 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 21 May 2020 09:00:39 -0700 Subject: [PATCH] Remove warning. If we hit this case, the cert is revoked and the error message we raise saying this will be shown to the user higher up the stack. --- certbot-apache/certbot_apache/_internal/prefetch_ocsp.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py index ae166c7b3..ffb72a372 100644 --- a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py +++ b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py @@ -159,8 +159,6 @@ class OCSPPrefetchMixin(object): handler = ocsp.RevocationChecker() try: if handler.ocsp_revoked_by_paths(cert_path, chain_path, response_file=ocsp_workfile): - logger.warning("Encountered an issue while trying to prefetch OCSP " - "response for certificate: %s", cert_path) raise OCSPCertificateError("Certificate has been revoked.") else: # Guaranteed good response