CreateAuthorityBody

Properties

PropertyTypeDescription
authorities_name string Required Display name for the authority in ZanPKI (up to 100 characters). Exported files use this name.
authorities_common_name string Required The authority's subject common name (CN), such as Acme Internal Root CA.
country string, or null Optional Two-letter ISO country code, such as US.
state string, or null Optional The subject's state or province, up to 64 characters; empty for none.
city string, or null Optional The subject's city or locality, up to 64 characters; empty for none.
organization string, or null Optional Company or organization name in the certificate subject (up to 64 characters), or empty if none.
unit string, or null Optional A department or team within the subject's organization, up to 64 characters; empty for none.
email string (email), or null Optional Email address in the certificate subject, or empty if none. Must be permitted by the signing authority and its issuer chain.
authorities_key_type one of: 1, 2, 3, 4, 5, 6, 7, 8, 9 Required RSA 4096 is the default, because every browser and almost all software accept it. ML-DSA-87 is the strongest level of ML-DSA, the post-quantum signature standard. In our tests, Chrome accepted ML-DSA certificates, but Safari and Java refused them, and Firefox hasn't been tested, so use ML-DSA only where you control the software that checks the certificates. Choose an elliptic curve only for clients that need one.
authorities_digest one of: 1, 2, 3, 4, null Optional Signature hash algorithm for the authority certificate. Leave it blank to match the signing key: SHA-384 for RSA 4096 and EC P-384, SHA-512 for EC P-521, and SHA-256 for RSA 2048, RSA 3072, and EC P-256. ML-DSA keys always sign with pure ML-DSA, which has no separate hash.
days integer (int32) Required Validity period for the authority certificate in days (1 to 3,650; defaults to 3,650, or ten years). An intermediate authority must expire before its signing authority.
permitted_names string, or null Optional Optional name constraints restricting which DNS names, IP addresses, and CIDR ranges this authority and its intermediates may certify (for example, example.com and 192.0.2.0/24), separated by spaces, commas, or new lines. Clients reject certificates outside these constraints, and specifying only DNS names or only IP ranges excludes the other type.

Used by

MethodPathSummary
POST /organizations/{organizationId}/authorities Create a self-signed root authority with a new key of the requested type. If permitted names are specified, this authority and all subordinate authorities may only certify those names.
POST /organizations/{organizationId}/authorities/{authorityId}/intermediates Create an intermediate authority signed by this authority's key.

All documentation