pki.tasks ========= .. py:module:: pki.tasks .. autoapi-nested-parse:: Asynchronous tasks for PKI operations. Module Contents --------------- .. py:data:: logger .. py:function:: generate_crl_for_ca(ca_id) 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.