CertificateLine
Properties
| Property | Type | Description | |
|---|---|---|---|
certificates_id
| string (snowflake) | Required | The certificate's ID. It stays the same through every reissue and renewal. |
certificates_name
| string | Required | Display name for the certificate in ZanPKI (up to 100 characters). Exported files use this name. |
issuances_common_name
| string, or null | Required | The subject common name (CN), such as a hostname. |
certificates_profile
| one of: 1, 2, 3, 4 | Required | Certificate profile determining its extended key usage: 1 (TLS server, for a website, service, or VPN), 2 (mTLS client, for a service), 3 (VPN user, for client authentication), or 4 (TLS server and client, for both roles). Pass null in searches to match any profile. |
profile_label
| string | Required | Display label for the certificate profile: TLS server (website, service, or VPN), mTLS client (service), VPN user (client authentication), or TLS server and client (both roles). |
authorities_name
| string, or null | Required | Display name for the authority in ZanPKI (up to 100 characters). Exported files use this name. |
issuances_created_at
| integer (int64) | Required | When the certificate's validity period starts (NotBefore), in seconds since the Unix epoch. |
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. |
issuances_status
| one of: 1, 2 | Required | Current status of the issuance: 1 for active (valid until expiration) or 2 for revoked (published on the signing authority's CRL). An active issuance past its expiration time is expired, as reflected in status_label. |
status_label
| string | Required | Display label for the certificate's status: Active, Revoked, or Expired (for an active certificate past its expiration date). |
page_url
| string | Required | URL path to the certificate's page. |
Used inside
Examples
[
{
"certificates_id": "7385061234567890123",
"certificates_name": "web server",
"issuances_common_name": "www.example.com",
"certificates_profile": 1,
"profile_label": "TLS server (website, service, or VPN)",
"authorities_name": "Example authority",
"issuances_created_at": 1795000000,
"issuances_expires_at": 1830000000,
"issuances_status": 1,
"status_label": "Active",
"page_url": "#"
}
]