Skip revoked certs when looking for certs to notify
This commit is contained in:
parent
233f9768e8
commit
a5cea4fb9a
|
@ -42,6 +42,7 @@ def get_certificates(exclude=None):
|
|||
.filter(Certificate.not_after <= max)
|
||||
.filter(Certificate.notify == True)
|
||||
.filter(Certificate.expired == False)
|
||||
.filter(Certificate.revoked == False)
|
||||
) # noqa
|
||||
|
||||
exclude_conditions = []
|
||||
|
|
Loading…
Reference in New Issue