/api/certificate-authorities resource represents every CA the workspace knows how to talk to. TigerTrust supports ACME (Let’s Encrypt, ZeroSSL), commercial CAs (DigiCert, Sectigo, Entrust, GlobalSign), cloud (AWS PCA, Azure Key Vault, GCP CAS), enterprise (Vault, EJBCA, ADCS, Venafi), and self-hosted internal PKI.
All endpoints require authentication and a workspace context.
List CAs
GET /api/certificate-authorities
e.g.
lets_encrypt, digicert, aws_pca, internal, vault.active, disconnected, error.healthy, degraded, unhealthy, unknown.Case-insensitive substrings used to match discovered certificates to this CA.
Type-specific configuration (endpoints, credentials, region, etc.).
Stats
GET /api/certificate-authorities/stats
Get a single CA
GET /api/certificate-authorities/:id
404 NOT_FOUND if the CA doesn’t belong to the caller’s workspace.
Create a CA
POST /api/certificate-authorities
See list above. Determines which credentials
config should carry.CA endpoint (ACME directory, API base URL, Vault address, etc.). Also accepts legacy
endpoint.Overrides the built-in defaults for the CA type. Used to auto-classify discovered certs.
Type-specific credentials. Common keys:
apiKey, apiSecret, organizationId, caArn, region, roleArn, vaultAddr, pkiPath, namespace, directoryUrl, rootCertificate.When
true, auto-creates and starts a ca_certs discovery scan against the new CA.Update a CA
BothPATCH (partial) and PUT (full replace) are accepted at /api/certificate-authorities/:id. Accepted fields: name, type, description, url, status, config.
Delete a CA
DELETE /api/certificate-authorities/:id
Removes the CA row. Certificates previously issued through it remain in the inventory but lose the FK link.
Test connectivity (“health check”)
POST /api/certificate-authorities/:id/test
Actively probes the CA endpoint using its type-specific protocol — ACME directory fetch for Let’s Encrypt/ZeroSSL, Vault /v1/sys/health for HashiCorp, ADCS /certsrv for Microsoft, HTTPS reachability for the rest. Also validates any bundled root certificate.
Type-specific extras — for internal PKI includes
subject, issuer, expiresAt, daysUntilExpiry.status field is updated automatically to active on success or error on failure.
Fetch certificates from a CA
POST /api/certificate-authorities/:id/fetch-certificates
Starts a ca_certs discovery scan targeting the CA. Useful for onboarding — pulls the CA’s currently-issued certificates into the local inventory.
GET /api/discovery/scans/:scanId.
Sync
POST /api/certificate-authorities/:id/sync
Marks the CA as freshly synchronized by touching lastSync. Full-fidelity sync (fetching every certificate) should be done via /fetch-certificates above.
See also
- Certificates — issue certificates through a registered CA
- Discovery — the scan engine
/fetch-certificatestriggers - Workflows — automate CA sync and issuance