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