CreateSigningRequestBody

Properties

PropertyTypeDescription
signing_requests_name string Required Display name for the signing request in ZanPKI (up to 100 characters).
signing_requests_common_name string Required The subject common name (CN), such as a hostname.
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.
signing_requests_profile one of: 1, 2, 3, 4 Required Requested certificate profile: 1 for TLS server (website, service, or VPN), 2 for mTLS client (service), 3 for VPN user (client authentication), or 4 for TLS server and client (both directions). The CSR requests these key purposes, though the signing authority makes the final decision.
signing_requests_profile_id string (snowflake), or null Optional ID of the organization's custom profile derived from the base profile, or null if using a built-in ZanPKI profile or if the custom profile was deleted.
signing_requests_key_type one of: 1, 2, 3, 4, 5, 6, 7, 8, 9 Required Key algorithm and size. 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 certificate. Choose an elliptic curve only for clients that need one. Chrome doesn't accept an EC P-521 website certificate.
sans string, or null Optional Subject alternative names (DNS names, IP addresses, email addresses, and URIs), separated by spaces, commas, or new lines. Server certificates require at least one DNS name or IP address.

Used by

MethodPathSummary
POST /organizations/{organizationId}/signing-requests Generate a new private key and certificate signing request (CSR) for signing by an external authority. Import the signed certificate back on the signing request page.

All documentation