mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
undo extra change
This commit is contained in:
parent
82262aece7
commit
6be87e63a7
1 changed files with 2 additions and 3 deletions
|
|
@ -85,6 +85,8 @@ class RevocationChecker(object):
|
|||
:returns: True if revoked; False if valid or the check failed or cert is expired.
|
||||
:rtype: bool
|
||||
"""
|
||||
if self.broken:
|
||||
return False
|
||||
|
||||
# Let's Encrypt doesn't update OCSP for expired certificates,
|
||||
# so don't check OCSP if the cert is expired.
|
||||
|
|
@ -93,9 +95,6 @@ class RevocationChecker(object):
|
|||
if crypto_util.notAfter(cert_path) <= now:
|
||||
return False
|
||||
|
||||
if self.broken:
|
||||
return False
|
||||
|
||||
url, host = _determine_ocsp_server(cert_path)
|
||||
if not host or not url:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in a new issue