Skip to main content

certificate

Retrieve a certificate for an organization.

certificate(
certificateId: Int
clientId: Int
): Certificate

Example

query ($certificateId: Int, $clientId: Int) {
certificate(certificateId: $certificateId, clientId: $clientId) {
active
beginsTimestamp
certificateId
commonName
created
csr
csrDecoded {
altNames
commonName
country
emailAddress
locality
organization
organizationUnit
state
}
expiresTimestamp
hasCertificate
issuer {
commonName
country
organization
}
san
valid
}
}

Arguments

certificate.certificateId ● Int scalar common

The certificate ID.

certificate.clientId ● Int scalar common

The organization ID that owns the certificate.

Type

Certificate object common

A TLS certificate.