CertificateDownload
Properties
| Property | Type | Description | |
|---|---|---|---|
certificates_id
| string (snowflake) | Required | The certificate's ID. It stays the same through every reissue and renewal. |
issuances_id
| string (snowflake) | Required | ID of the issuance. Each time a certificate is issued, it receives a new issuance ID and serial number. |
issuances_expires_at
| integer (int64) | Required | When the certificate expires (NotAfter), in seconds since the Unix epoch. For a certificate request, null until a certificate has been issued. |
certificate_chain
| string | Required | PEM-encoded certificate chain starting with the leaf certificate, followed by its issuing authorities. |
private_key
| string, or null | Required | PEM-encoded private key (PKCS #8), decrypted from ZanKMS for this response only. Null if ZanPKI does not store a private key for this certificate (such as one imported without its key). |
Used by
| Method | Path | Summary |
|---|---|---|
| GET | /downloads/{certificateId} | Download a certificate you have permission to access, including its current issuance, issuer chain, and stored private key (if available). Returns 404 Not Found for any other certificate. |