generate_csr Method
Creates a new certificate signing request (CSR).
Syntax
def generate_csr(key_bits: int) -> None: ...
Remarks
Call this method to generate a new certificate request with the specified parameters. The newly generated CSR is saved in certificate_request property. Use export_csr and export_key to serialize the generated objects.