diff --git a/lemur/certificates/cli.py b/lemur/certificates/cli.py index 6bcddec35..d9ff63646 100644 --- a/lemur/certificates/cli.py +++ b/lemur/certificates/cli.py @@ -600,14 +600,17 @@ def reissue(old_certificate_name, serial_numbers, notify, commit): old_cert_by_name = validate_certificate(old_certificate_name) if old_cert_by_name: + click.echo(f"[+] Reissuing certificate by name: {old_certificate_name}") # TODO remove certs_to_reissue.append(old_cert_by_name) old_certs_by_serial_numbers = validate_certificates_by_serial_numbers(serial_numbers) if old_certs_by_serial_numbers: + click.echo(f"[+] Reissuing certificates by serial numbers: {serial_numbers}") # TODO remove certs_to_reissue.extend(old_certs_by_serial_numbers) # if neither name nor serial numbers were specified, reissue all pending reissues if not certs_to_reissue: + click.echo("[+] Reissuing all pending certificates.") certs_to_reissue = get_all_pending_reissue() for old_cert in certs_to_reissue: