parent
e3fa072608
commit
19b693f636
|
@ -87,7 +87,7 @@ def update_key_type():
|
|||
conn = op.get_bind()
|
||||
start_time = time.time()
|
||||
|
||||
# Loop through all certificates are valid today or expired in last 30 days
|
||||
# Loop through all certificates that are valid today or expired in the last 30 days.
|
||||
for cert_id, body in conn.execute(
|
||||
text(
|
||||
"select id, body from certificates where bits < 1024 and not_after > CURRENT_DATE - 31 and key_type is null")
|
||||
|
|
Loading…
Reference in New Issue