comments
This commit is contained in:
parent
e250a61344
commit
0d7e8d77e4
|
@ -249,6 +249,8 @@ def rotate(endpoint_name, new_certificate_name, old_certificate_name, message, c
|
|||
current_app.logger.info(log_data)
|
||||
|
||||
else:
|
||||
# no certificate name or endpoint was provided, so we will now fetch all endpoints,
|
||||
# which have are attached to a certificate that has been replaced
|
||||
print("[+] Rotating all endpoints that have new certificates available")
|
||||
for endpoint in endpoint_service.get_all_pending_rotation():
|
||||
log_data["endpoint"] = endpoint.dnsname
|
||||
|
|
Loading…
Reference in New Issue