pki.tasksΒΆ

Asynchronous tasks for PKI operations.

Module ContentsΒΆ

pki.tasks.logger[source]ΒΆ
pki.tasks.generate_crl_for_ca(ca_id)[source]ΒΆ

Generate a CRL for a specific CA.

This function is executed by Django-Q2 as a background task. It should not use Django 6.0’s @task decorator as Django-Q2 handles task execution and scheduling.

Raises:

ValueError – If the CA does not exist.

Parameters:

ca_id (int)

Return type:

None