commands.create_ra_setup

Django management command to create RA (Registration Authority) setup for testing.

This command creates a complete RA testing environment with: - A local issuing CA - Domains and devices for EST and CMP protocols - Remote RA configurations that point back to this Trustpoint instance

Module Contents

class commands.create_ra_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 a complete RA (Registration Authority) testing setup.

help = 'Creates issuing CAs, domains, devices, and RA configurations for testing RA functionality.'[source]
handle(*_args, **_kwargs)[source]

Creates the complete RA 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) – The message to log.

  • level (str) – The logging level (‘info’, ‘warning’, ‘error’).

Return type:

None