pki.tasksΒΆ
Asynchronous tasks for PKI operations.
Module ContentsΒΆ
- 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