commands.check_for_insufficient_key_length

Management command to check certificates with insufficient key lengths.

Classes

Command

Command to check for certificates using insufficient RSA key lengths.

Module Contents

class commands.check_for_insufficient_key_length.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

Command to check for certificates using insufficient RSA key lengths.

help = 'Check certificates with insufficient key lengths.'[source]
handle(*args, **kwargs)[source]

Entrypoint for the command.

Parameters:
  • *args (Any) – Additional positional arguments.

  • **kwargs (dict[str, Any]) – Additional keyword arguments.

Return type:

None

_check_for_insufficient_key_length()[source]

Task to check if any certificates are using insufficient key lengths.

Return type:

None