CertificateLine
Propriedades
| Propriedade | Tipo | Descrição | |
|---|---|---|---|
certificates_id
| string (snowflake) | Obrigatório | The certificate's ID. |
certificates_name
| string | Obrigatório | What you call the certificate in ZanPKI, up to 100 characters; its exported files are named after it. |
certificates_common_name
| string, or null | Obrigatório | The subject common name, such as the host name. |
certificates_profile
| one of: 1, 2, 3, 4 | Obrigatório | What the certificate is for, which sets its key purposes: 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 a service both ways. A search takes null for any. |
profile_label
| string | Obrigatório | What it is for, written out for display: TLS server (website, service, or VPN), mTLS client (service), VPN user (client authentication) or TLS server and client (a service both ways). |
authorities_name
| string, or null | Obrigatório | What you call the authority in ZanPKI, up to 100 characters; its exported files are named after it. |
certificates_created_at
| integer (int64) | Obrigatório | When the certificate starts, as it says, in seconds since the Unix epoch. |
certificates_expires_at
| integer (int64) | Obrigatório | When the certificate ends, as it says, in seconds since the Unix epoch; for a certificate request, null until it holds one. |
certificates_status
| one of: 1, 2 | Obrigatório | Where it stands: 1 active, in force until it ends, or 2 revoked, which its authority's revocation list tells everyone. An active one whose end has passed has ended, which status_label says. |
status_label
| string | Obrigatório | Its status written out for display: Active, Revoked, or Ended for one still active whose end has passed. |
page_url
| string | Obrigatório | The path of the certificate's page. |
Usado dentro de
Exemplos
[
{
"certificates_id": "7385061234567890123",
"certificates_name": "web server",
"certificates_common_name": "www.example.com",
"certificates_profile": 1,
"profile_label": "TLS server (website, service, or VPN)",
"authorities_name": "Example authority",
"certificates_created_at": 1795000000,
"certificates_expires_at": 1830000000,
"certificates_status": 1,
"status_label": "Active",
"page_url": "#"
}
]