Chief Tools Logo
Server Chief API v1

Endpoints for the TLS certificates of sites and services across the team's servers, their renewal tooling and issues.


Search certificates

GET
https://server.chief.app/api/v1
/certificates
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

Find certificates across the servers the authenticated team can see, including servers shared with it: which expire soon, which are not renewed automatically, which certbot or acme.sh plugin issued them, and which fail a check such as a weak key or names a site uses that the certificate does not cover. A certificate used by several sites and services of a server is listed once. Every result includes its server.

Search certificates › query Parameters

query
​string | null · maxLength: 255

Only return certificates whose names, subject, issuer, CA, manager, lineage or plugin contain this text.

issue
​string | null · enum

Only return certificates failing this check.

Enum values:
expiring_unmanaged
renewal_missing
staging_ca
self_signed_public
incomplete_chain
weak_key
names_not_covered
duplicate
has_issues
​boolean | null

Only return certificates failing at least one check.

severity
​string | null · enum

Only return certificates whose most severe issue has this severity or worse.

Enum values:
high
medium
low
expiring_days
​integer | null · min: 0 · max: 3650

Only return certificates that expire within this many days, including certificates that already expired. 0 returns expired certificates only.

manager
​string | null · enum

Only return certificates issued and renewed by this tool.

Enum values:
certbot
acme.sh
plesk
directadmin
forge
unmanaged
​boolean | null

Only return certificates without renewal automation: none was found, or the agent could not tell.

ca
​string | null · maxLength: 32

Only return certificates of this CA: letsencrypt, letsencrypt-staging, zerossl, buypass, google or sectigo. New values may be added.

plugin
​string | null · maxLength: 64

Only return certificates issued with this certbot or acme.sh plugin.

sort
​string | null · enum

urgency lists the most severe issues first and then the soonest expiry, expiry the soonest expiry first, name sorts by the primary name.

Enum values:
urgency
expiry
name
Default: urgency
per_page
​integer · min: 1 · max: 100
page
​integer · min: 1

Search certificates › Responses

Paginated set of ServerCertificate

​ServerCertificate[] · required
​object · required
​object · required

Show a certificate

GET
https://server.chief.app/api/v1
/certificates/{certificate}
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

Show a certificate of a server the authenticated team can see: its names, validity, key, chain, the sites and services using it, the tool renewing it and the checks it fails.

Show a certificate › path Parameters

certificate
​string · required

Show a certificate › Responses

ServerCertificate

​object · required