commands.create_ca_issuer_setupΒΆ

Django management command to create CA issuer setup.

Module ContentsΒΆ

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

Bases: commands.base_commands.CertificateCreationCommandMixin, trustpoint.logger.LoggerMixin, django.core.management.base.BaseCommand

Creates an issuing CA, domain, and devices for CA issuer.

help = 'Creates RSA 2048 issuing CA "ca_issuer", domain, and separate devices for EST and CMP protocols.'[source]ΒΆ
handle(*_args, **_kwargs)[source]ΒΆ

Creates the CA issuer setup.

Parameters:
  • _args (tuple[str])

  • _kwargs (dict[str, str])

Return type:

None

log_and_stdout(message, level='info')[source]ΒΆ

Log a message and write it to stdout.

Parameters:
  • message (str)

  • level (str)

Return type:

None