DuoKey
Resources
Article

Certificate Lifecycle Management (CLM): Machine Identities from Discovery to Revocation (2026)

Certificate lifecycle management explained: CLM stages, machine identity management, certificate discovery, preventing expiry outages and a CLM tool checklist.

DuoKey Team··18 min read

Certificate lifecycle management (CLM) is the practice of discovering, owning, issuing, deploying, monitoring, renewing, revoking and retiring every digital certificate an organisation uses, with as much of that cycle automated as possible. It is the operational core of machine identity management: keeping track of the certificates, keys and other credentials that servers, devices, workloads and software agents use to prove who they are.

Certificates rarely fail because the cryptography breaks. They fail because nobody knew a certificate existed, nobody owned it, or nobody renewed it in time.

Two changes make this more pressing in 2026. Publicly trusted TLS certificates are now capped at 200 days and will drop to 100 days in March 2027 and 47 days in March 2029, so manual renewal stops scaling. And the move to post-quantum cryptography means every certificate and key will eventually be reissued with new algorithms, which is only practical if you already know where they all are. This guide covers the lifecycle stages, expiry outages, automation protocols, discovery, a tool checklist and a 90-day rollout plan.


Table of Contents

  1. What Is Certificate Lifecycle Management?
  2. What Counts as a Machine Identity
  3. The Certificate Lifecycle Stages and What Goes Wrong
  4. Why Certificate Expiry Outages Happen
  5. Shrinking Certificate Lifetimes and SC-081
  6. Automation Protocols: ACME, EST, SCEP and CMP
  7. Certificate Discovery: Finding Every Certificate
  8. CLM Tool Evaluation Checklist
  9. Machine Identity Beyond TLS
  10. A 90-Day CLM Rollout Plan
  11. How DuoKey Supports Certificate Lifecycle Management
  12. FAQ

What Is Certificate Lifecycle Management?

An X.509 certificate binds a public key to an identity (a domain name, a host, a service, a person or an organisation) and is signed by a certificate authority (CA). The certificate has a fixed validity period, and the matching private key must stay protected for that whole period. Certificate management covers who requested it, where it is installed, who owns it, and how it is replaced or revoked.

Certificate lifecycle management turns that into a repeatable process with three properties:

  • Visibility. A current inventory of every certificate, public and private, with owner, location, issuer, algorithm and expiry.
  • Control. Policy on which CAs, key types, key sizes and lifetimes are allowed, and an approval path for exceptions.
  • Automation. Issuance, deployment, renewal and revocation done by machines through standard protocols, not by people following tickets.

NIST's practice guide on TLS server certificate management (NIST SP 1800-16) frames the goal in the same terms: a formal certificate management programme that can prevent, detect and recover from certificate-related incidents at enterprise scale.

CLM is often confused with PKI. A PKI is the infrastructure that issues certificates: the CAs, their keys, policies, CRLs and OCSP responders. CLM is the process that governs certificates from every CA you use, public and private. You need both; the PKI as a Service guide covers the issuing side.


What Counts as a Machine Identity

A machine identity is any credential a non-human actor uses to authenticate, sign or encrypt. Machine identity management is the broader discipline; CLM is its largest part. The inventory includes:

Machine identityTypical examplesLifecycle concern
TLS server certificatesWebsites, APIs, load balancers, ingress controllers, mail serversExpiry, wrong chain, weak algorithm, public lifetime limits
Private / internal certificatesService mesh (mTLS), internal APIs, databases, VPN, Wi-Fi (802.1X)Unknown issuers, long lifetimes, no owner
Client and device certificatesLaptops, mobile devices, IoT, network equipmentEnrollment at scale, revocation when devices are lost
Cryptographic keysKeys in HSMs, cloud KMS, keystores (JKS, PKCS#12)Location, custody, algorithm, rotation
SSH keys and SSH certificatesAdmin access, automation accounts, host keysUnmanaged authorized_keys, no expiry on plain keys
Code and document signing certificatesRelease pipelines, signed PDFs, firmwareKey theft, timestamping, long-term validation
Workload and agent identitiesContainers, serverless functions, AI agents calling tools and APIsShort-lived, high volume, created and destroyed dynamically

Each identity has a key, a lifetime and an owner; if any of the three is unknown, it can cause an outage or a breach.


The Certificate Lifecycle Stages and What Goes Wrong

The certificate lifecycle has nine stages. Most incidents can be traced to a gap at one of them, usually long before the certificate expires.

StageWhat happensWhat can go wrongControl to put in place
1. DiscoverFind certificates on hosts, keystores, cloud services, network endpoints and CA logsShadow certificates bought on a credit card or issued by an unknown internal CAScheduled scans across all sources, not one-off audits
2. Inventory / ownRecord each certificate with owner, application, location and renewal methodOwner left the company; nobody gets the expiry alertMandatory owner and team field; ownerless certificates escalated
3. Request / approveA CSR is submitted and checked against policyWrong key size, wildcard where not allowed, unapproved CAPolicy enforced at request time; approval workflow for exceptions
4. IssueThe CA signs the certificateWrong profile, missing SANs, broken chainCertificate profiles per use case; automated chain checks
5. DeployCertificate and key installed on every endpoint that needs itInstalled on one node of a cluster but not the others; private key copied by emailDeployment automation with validation and rollback; keys generated where they are used or held in a vault
6. MonitorTrack expiry, chain validity, algorithm and usageAlerts go to a shared mailbox nobody readsAlerts routed to the owner and the on-call rota, with escalation
7. RenewReplace before expiry, ideally with a new keyRenewed certificate issued but never deployedRenew at a fixed fraction of lifetime; verify the served certificate after deployment
8. RevokeInvalidate a certificate early (key compromise, superseded, decommissioned)Revocation not published; relying parties do not checkCRL and OCSP per CA; revocation playbook with reason codes
9. RetireRemove the certificate and destroy or archive the keyOld certificate still served by a forgotten hostDecommissioning step tied to asset lifecycle; rescan to confirm

Revocation reasons are defined in RFC 5280, including keyCompromise, cACompromise, affiliationChanged, superseded and cessationOfOperation. Online status checking is defined in RFC 6960 (OCSP).


Why Certificate Expiry Outages Happen

Certificate expiry outages tend to follow the same pattern. The certificate did exactly what it was designed to do: it stopped being valid on the date written in it. The failure is organisational.

The most common causes are:

  • No inventory. The certificate was in no tool, so no alert existed: typical for appliances, application keystores and forgotten internal CAs.
  • No owner. An alert existed but went to a person who changed roles or a distribution list nobody monitors.
  • Renewal without deployment. The new certificate was issued but only installed on some nodes, or the service was never reloaded, so the old one kept being served.
  • Intermediate and root expiry. The leaf certificate was fine but an intermediate CA certificate in the chain expired, or a client trust store did not include the new root.
  • Manual steps at scale. Ticket, CSR, upload and restart for each renewal; with hundreds of certificates, some get missed.

How to prevent certificate expiry outages: discover continuously, give every certificate an owner, automate renewal and deployment through a protocol such as ACME, verify the certificate actually served after each deployment, and alert on expiry well before the renewal window closes, not on the day.


Shrinking Certificate Lifetimes and SC-081

CA/Browser Forum Ballot SC-081v3, passed in April 2025, amended the TLS Baseline Requirements to phase down the maximum validity of publicly trusted TLS certificates and the reuse period for domain validation:

Certificate issuedMaximum validity (BR 6.3.2)Domain / IP validation reuse (BR 4.2.1)
Before 15 March 2026398 days398 days
From 15 March 2026200 days200 days
From 15 March 2027100 days100 days
From 15 March 202947 days10 days

At 47 days, each public certificate is replaced roughly once a month. A process that needs a person for each renewal will not keep up. The rule applies to publicly trusted TLS certificates; private CAs set their own policy. The 47-day TLS certificate timeline guide has the renewal maths and a preparation plan.


Automation Protocols: ACME, EST, SCEP and CMP

Four standard protocols cover most automated enrollment. A CLM programme usually needs more than one, because servers, network devices and mobile fleets support different protocols.

ProtocolStandardTypical useNotes
ACMERFC 8555 (Standards Track, 2019)Web servers, Kubernetes, reverse proxiesDefines http-01 and dns-01 challenges; clients include certbot, acme.sh, Caddy, cert-manager
ESTRFC 7030 (Standards Track, 2013)Devices, IoT, enterprise clientsOperations under /.well-known/est: cacerts, simpleenroll, simplereenroll, and optional serverkeygen, csrattrs, fullcmc
SCEPRFC 8894 (Informational, 2020)Network equipment, MDM-managed mobile devicesWidely deployed in network and mobile device management
CMPRFC 9810 (2025, obsoletes RFC 4210) and the lightweight profile RFC 9483Industrial, telecom and manufacturing PKIRich message set for enrollment, key update and revocation

For internal certificates, running ACME against your own private CA gives you the same automation that public web servers already use. The ACME private CA automation guide walks through it step by step, including Kubernetes cert-manager. For example, a cert-manager ClusterIssuer only needs the private CA's ACME directory URL:

# ClusterIssuer pointing cert-manager at a DuoKey CA over ACME
server: https://{cockpit-url}/api/pki/acme/{ca-id}/directory

cert-manager renews by default at two-thirds of the certificate lifetime, configurable with renewBefore.


Certificate Discovery: Finding Every Certificate

A certificate discovery tool answers which certificates exist, where, and who issued them. No single source gives the full answer:

Discovery sourceWhat it findsBlind spots
Network scanning (TLS handshakes on IP ranges and ports)Certificates served by reachable endpointsCertificates not served on the network (keystores, files, client certs)
Filesystem and keystore scanning on hostsPEM, DER, PKCS#12/PFX, JKS files, Windows certificate store, TPMHosts without an agent or credentials
Cloud provider APIsKeys and certificates in cloud KMS and key vaultsCertificates installed directly on VMs or containers
CA databases and Certificate Transparency logsEverything a given CA has issued for your domainsInternal CAs you do not know about; where the certificate is deployed
Load balancer, ingress and appliance APIsCertificates bound to virtual servers and routesVendor coverage varies

For each certificate, record at least subject and SANs, issuer, serial number, validity dates, key algorithm and size, signature algorithm, location, owner and renewal method. It also feeds your cryptographic inventory and your post-quantum migration plan.

Discovery is a loop, not a project: new services create certificates every week, so scan on a schedule and alert on differences.


CLM Tool Evaluation Checklist

Use this checklist to compare certificate lifecycle management tools, and ask vendors to demonstrate each item.

CapabilityWhat to checkWhy it matters
Discovery sourcesNetwork, filesystem and keystores, cloud KMS and key vaults, CA imports, CT logsCoverage determines how many unknown certificates remain
CA-agnosticManages certificates from public CAs, private CAs and imported/external CAsMost estates use several CAs; switching CA should not mean switching tools
Ownership and approval workflowOwner field, team mapping, CSR approval, policy on key types and lifetimesPrevents ownerless certificates and policy drift
Enrollment protocolsACME, EST, SCEP, CMP, REST APIDifferent device classes need different protocols
Deployment automation and rollbackConnectors to servers, load balancers, Kubernetes; validation after deploy; rollback on failureRenewal without deployment is the most common hidden failure
AlertingExpiry thresholds, routing to owners, escalation, integration with ticketing and chatAlerts that reach the wrong person do not prevent outages
RevocationRevocation with RFC 5280 reasons; CRL and OCSP publicationFast, correct response to key compromise
PQC readinessML-DSA (FIPS 204) and SLH-DSA (FIPS 205) certificates, hybrid composite chains, algorithm reportingPost-quantum migration will reissue most certificates
AuditTamper-evident log of requests, approvals, issuance and revocationsEvidence for DORA, NIS2, FINMA and internal audit
API and integrationDocumented REST API, CI/CD integration, ITSM integrationCLM has to fit how teams already ship software

Machine Identity Beyond TLS

Machine identity management also covers credentials whose failures are quieter than a TLS outage.

Code signing. A stolen code signing key lets an attacker ship software your customers will trust. Keep the keys in a vault or HSM and log every signature.

Document signing. Signed PDFs, contracts and reports depend on a signing certificate whose private key must not sit on a laptop. Server-side signing through an API keeps the key in a managed keystore instead of on individual machines.

SSH. Plain SSH keys have no expiry and accumulate in authorized_keys files. An SSH certificate authority changes the model: as the OpenSSH ssh-keygen manual describes, ssh-keygen can sign user and host certificates, and the -V option sets a validity interval. Servers then trust the CA, and short-lived certificates replace long-lived keys.

Workloads and AI agents. Containers, functions and AI agents that call tools and APIs on behalf of users are machine identities too, often created and destroyed within minutes. The same questions apply: who owns it, what may it sign or decrypt, and how is its credential revoked? The Know Your Agent article discusses this problem, and DuoKey's approach is described on the agentic crypto agility page.


A 90-Day CLM Rollout Plan

This plan assumes partial visibility and mostly manual renewals.

Days 1-30: See everything

  • Agree the scope: public TLS, private TLS, client and device certificates, SSH, code and document signing
  • Run discovery across network ranges, hosts and keystores, cloud key services and CA exports
  • Build a single inventory with owner, application, issuer, expiry, algorithm and renewal method
  • List every certificate expiring in the next 90 days and assign each to a named owner

Days 31-60: Set policy and automate the riskiest

  • Write a certificate policy: approved CAs, key types and sizes, maximum lifetimes, wildcard rules
  • Introduce a request and approval workflow for certificates outside the automated path
  • Automate renewal for public-facing TLS first (ACME), then Kubernetes and internal web services
  • Route expiry alerts to owners and the on-call rota, with escalation
  • Write a revocation playbook (who decides, which reason code, how CRL and OCSP are updated)

Days 61-90: Extend and measure

  • Add device and network enrollment (EST, SCEP or CMP) where ACME does not fit
  • Add deployment automation with post-deployment validation and rollback
  • Bring SSH access and signing certificates into the inventory
  • Track a small set of measures: share of certificates with an owner, share renewed automatically, certificates expiring without a renewal in flight

How DuoKey Supports Certificate Lifecycle Management

DuoKey's certificate management runs in DuoKey Cockpit, one console and API for private PKI, keys and discovery. According to the DuoKey PKI documentation:

  • CAs. Root, intermediate/issuing and external (imported) CAs. CA lifecycle includes suspend and reactivate, simple and cascade revoke, and archive. Parent-algorithm compatibility is enforced so post-quantum and hybrid chains verify.
  • Algorithms. RSA-2048/4096, EC-P256/P384, ML-DSA-44/65/87 (FIPS 204), SLH-DSA-128F/128S (FIPS 205) and a hybrid composite of ML-DSA-65 with ECDSA-P256. The documentation recommends PQC where you control both ends and the hybrid composite where classical relying parties must interoperate.
  • Key custody. PQC and hybrid CAs are vault-signed: signing keys live in the vault or HSM rather than being generated locally, and for issued PQC certificates the leaf key is vault-resident. Vault-backed CAs can use external HSM-backed vaults such as Securosys.
  • Lifecycle. CSR approval workflow (request, approve or reject, issue), renewal, revocation with RFC 5280 reasons, and a per-CA CRL and OCSP responder.
  • Enrollment. ACME (http-01 and dns-01; cert-manager verified end-to-end), EST, SCEP, CMP and a KMIP 2.1 server endpoint, plus deployment connectors with per-job validation and rollback.

Discovery. The DuoKey PQC Scanner, which is the discovery engine of cryptographic posture management, finds filesystem certificates and keys (PEM, DER, PKCS#12/PFX, JKS/JCEKS), inspects X.509 certificates, and scans keystores including the Windows certificate store, JKS, PKCS#12 and TPM. It also inventories AWS KMS, Azure Key Vault and GCP Cloud KMS and produces a CBOM.

Beyond TLS. Cockpit includes an SSH certificate authority, and the PDF Sign API provides server-side PDF signing in which the certificate never leaves the tenant keystore.

DuoKey is a private PKI and certificate management platform; publicly trusted WebPKI certificates still come from a public CA. For questions about specific integrations or deployment models, contact DuoKey.


FAQ

Q: What is certificate lifecycle management?

Certificate lifecycle management (CLM) is the process of discovering, owning, issuing, deploying, monitoring, renewing, revoking and retiring every digital certificate in an organisation. Its goal is to prevent outages and security incidents caused by unknown, expired or misconfigured certificates, mainly through inventory, policy and automation.

Q: What is machine identity management?

Machine identity management is the governance of the credentials that non-human actors use to authenticate: TLS and client certificates, cryptographic keys, SSH keys and certificates, signing certificates, and workload or AI agent identities. CLM is its largest part.

Q: How do I find all certificates in my organisation?

Combine several discovery sources: network scans of TLS endpoints, filesystem and keystore scans on hosts, cloud KMS and key vault APIs, exports from every CA you use, and Certificate Transparency logs for your public domains. Merge the results into one inventory with an owner for each certificate, and repeat the scans on a schedule.

Q: How do I prevent certificate expiry outages?

Keep a continuously updated inventory, give every certificate a named owner, automate renewal and deployment with ACME or another enrollment protocol, verify the certificate actually served after each change, and send expiry alerts to owners and on-call well before the renewal window closes. Check intermediate CA expiry as well as leaf certificates.

Q: What is a certificate discovery tool?

A certificate discovery tool scans networks, hosts, keystores and cloud services to find certificates and record their issuer, expiry, algorithm and location. Certificates you have not found cannot be renewed or migrated.

Q: Does the 47-day limit apply to internal certificates?

No. SC-081 applies to publicly trusted TLS server certificates. Private CAs set their own lifetimes.

Q: How does certificate lifecycle management relate to post-quantum migration?

Most certificates today use RSA or ECDSA, which are vulnerable to a future quantum computer. A CLM inventory shows which certificates use which algorithms, and automated issuance lets you reissue them with ML-DSA, SLH-DSA or hybrid certificates.


Conclusion: CLM Is How You Stay Ahead of the Calendar

Certificates expire on a known date, so expiry outages are preventable: know every certificate, know who owns it, and let machines renew and deploy it.

  • Every certificate discovered and in one inventory
  • Every certificate has a named owner
  • Public TLS renewed and deployed automatically
  • Private certificates issued through ACME, EST, SCEP or CMP from a governed CA
  • Algorithms tracked for the post-quantum migration

References

Share

Written by

DuoKey Team

Discuss the decisions that matter most to your security programme.

Tell us where control is difficult today. We will help you identify a practical next step.