nvflare.lighter.impl.cert module

class CertBuilder[source]

Bases: Builder

Build certificate chain for every participant.

Handles building (creating and self-signing) the root CA certificates, creating server, client and admin certificates, and having them signed by the root CA for secure communication. If the state folder has information about previously generated certs, it loads them back and reuses them.

build(project: Project, ctx: ProvisionContext)[source]
finalize(project: Project, ctx: ProvisionContext)[source]
get_pri_key_cert(participant: Participant)[source]
initialize(project: Project, ctx: ProvisionContext)[source]