Subscribe to the Non-Human & AI Identity Journal

Orphaned Certificate

An orphaned certificate is a credential that still exists but no longer maps cleanly to an active service, workload, or approved automation flow. These certificates are dangerous because they can preserve access without a clear owner, which makes them hard to detect and harder to revoke safely.

Expanded Definition

An orphaned certificate is a certificate that remains valid in infrastructure after the workload, service, pipeline, or automation path that depended on it has been decommissioned, replaced, or lost from inventory. In NHI governance, this is not just a cleanup issue. It is an ownership failure that breaks the link between cryptographic trust and operational accountability.

Definitions vary across vendors on whether a certificate is considered orphaned only when the issuer record is missing, or more broadly when no approved business process can justify its continued use. NHI Management Group treats the practical test as simple: if a certificate cannot be traced to an active service owner and a documented renewal or revocation path, it should be treated as orphaned risk. That distinction matters because certificate presence alone does not prove legitimate use. The same certificate may still authenticate to internal systems, TLS endpoints, CI/CD runners, or workload meshes long after the original application has changed shape. For baseline identity and assurance context, see the NIST Cybersecurity Framework 2.0 and the NHI lifecycle framing in Ultimate Guide to NHIs — What are Non-Human Identities.

The most common misapplication is assuming a certificate is safe because it has not yet expired, which occurs when inventory and ownership records are missing.

Examples and Use Cases

Implementing orphaned-certificate controls rigorously often introduces inventory and renewal overhead, requiring organisations to weigh tighter trust boundaries against the operational cost of tracking every certificate to an accountable owner.

  • A CI/CD pipeline is rebuilt under a new project name, but the old signing certificate still exists in a secrets store and is accepted by downstream services.
  • A decommissioned microservice leaves behind a mutual TLS certificate that continues to authenticate requests because revocation was never tied to shutdown.
  • A third-party integration is replaced, yet the original certificate remains installed on a gateway, creating an invisible trust path that no team actively monitors.
  • An internal platform rotation replaces keys and credentials, but a legacy certificate is forgotten on a load balancer and later becomes the only surviving access path.
  • A certificate authority inventory shows active issuance, but the corresponding workload no longer appears in CMDB, container registry, or ownership records.

These cases align closely with the machine-identity visibility problems discussed in The Critical Gaps in Machine Identity Management report, where incomplete inventory and manual tracking are recurring causes of exposure. They also echo patterns seen in the Sisense breach, where machine identity trust was part of the broader attack surface.

Why It Matters in NHI Security

Orphaned certificates are dangerous because they preserve cryptographic trust even after the legitimate operational reason for that trust has disappeared. That means they can outlive asset ownership, evade routine access reviews, and remain usable by attackers who discover them through repository leaks, host images, or configuration drift. In NHI security, that is especially serious because certificates often act as the root trust material for service-to-service authentication, automation, and infrastructure access.

NHI Management Group reports that only 5.7% of organisations have full visibility into their service accounts, and that lack of visibility directly worsens certificate orphaning because revocation decisions depend on knowing what still exists and who owns it. The same research also shows that 71% of NHIs are not rotated within recommended time frames, which means expired or abandoned trust paths often persist long enough to become incident response problems rather than routine hygiene issues. This is why orphaned certificates should be handled as part of broader lifecycle governance, not as isolated certificate housekeeping. For control and audit alignment, the NHI lifecycle discipline in Ultimate Guide to NHIs — What are Non-Human Identities should be paired with the risk framing in NIST Cybersecurity Framework 2.0.

Organisations typically encounter the impact only after a breach, an outage, or a failed audit reveals that the certificate was still trusted, at which point orphaned certificate handling becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-01 Orphaned certificates are an NHI lifecycle and ownership failure.
NIST CSF 2.0 PR.AA Identity and access assurance depends on managed machine credentials.
NIST Zero Trust (SP 800-207) Zero Trust requires continuous validation of every workload credential.

Treat every certificate as untrusted until current owner, use, and policy status are verified.