mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Cleaning
This commit is contained in:
parent
4b5c4638b9
commit
1f0891f7f4
1 changed files with 1 additions and 2 deletions
|
|
@ -67,7 +67,6 @@ class RevocationChecker(object):
|
|||
if not host or not url:
|
||||
return False
|
||||
|
||||
logger.error(url)
|
||||
if self.use_openssl_binary:
|
||||
return self._check_ocsp_openssl_bin(cert_path, chain_path, host, url)
|
||||
else:
|
||||
|
|
@ -142,7 +141,7 @@ def _check_ocsp_cryptography(cert_path, chain_path, url):
|
|||
response = requests.post(url, data=request_binary,
|
||||
headers={'Content-Type': 'application/ocsp-request'})
|
||||
except requests.exceptions.RequestException:
|
||||
logger.info("OCSP check failed for %s (are we offline?)", cert_path)
|
||||
logger.info("OCSP check failed for %s (are we offline?)", cert_path, exc_info=True)
|
||||
return False
|
||||
if response.status_code != 200:
|
||||
logger.info("OCSP check failed for %s (HTTP status: %d)", cert_path, response.status_code)
|
||||
|
|
|
|||
Loading…
Reference in a new issue