nvflare.tool.cert.cert_commands module
nvflare cert subcommand handlers: init, request, approve, and internal csr/sign helpers.
- generate_csr_files(name: str, org: str, cert_type: str, output_dir: str, force: bool = False) dict[source]
Generate a participant private key and CSR using the existing cert logic.
- sign_csr_files(csr_path: str, ca_dir: str, output_dir: str, cert_type: str | None = None, accept_csr_role: bool = False, valid_days: int = 1095, force: bool = False, csr: CertificateSigningRequest | None = None, server_default_host: str | None = None, server_additional_hosts=None) dict[source]
Sign a CSR using the existing cert signing logic and write cert/rootCA files.