Independent analysis by NHI Mgmt GroupSource article: DigiCert, “Mitigating Risk: The Importance of Considering Your Certificate Practices” (September 30, 2025)

TL;DR: Certificate validity, private key protection, and revocation are presented by DigiCert as three linked decisions that determine whether PKI reduces risk or extends it, especially as long-lived certificates, key compromise, and deprecation events like SHA-1 age into operational exposure. The governing assumption is simple: if certificates and keys can persist too long without fast replacement, revocation, and storage controls, security debt accumulates.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on DigiCert's blog post: PKI and certificate governance requires certificate validity, private key protection, and revocation to be managed as one control surface.

Why it matters: It matters because IAM, workload identity and device security teams often treat certificates as static artefacts, when the real risk sits in how long credentials live, how they are stored and how fast they can be withdrawn.


Context

Certificate security is not just about issuing trust anchors and moving on. The article argues that PKI design choices, especially certificate validity, key storage and revocation planning, determine whether certificates reduce risk or create long-lived exposure for devices and networks.

For identity teams, the practical issue is lifecycle control. A certificate that stays valid for too long, or a private key that is easy to extract, turns authentication into a persistence mechanism for attackers. The article frames PKI as an operational governance problem, not a formatting detail.


Key questions

Q: How should teams choose certificate validity periods for device identities?

A: Choose validity periods based on how quickly you can reissue, replace and distribute new credentials when cryptographic assumptions change. Long-lived certificates are not automatically wrong, but they require a proven replacement path, reliable revocation and ownership of the device update process. If those controls are weak, shorter validity is the safer operational choice.

Q: Why do private key storage controls matter as much as certificate issuance?

A: Because a certificate only authenticates the holder if the private key stays protected. If the key is stored in plain text or is easy to extract from a device, an attacker can impersonate that identity, decrypt traffic and authenticate to services. The protection model has to cover the key, not just the certificate wrapper.

Q: What breaks when certificate revocation is difficult to reach operationally?

A: Revocation becomes ineffective if devices cannot reliably check status through CRL or OCSP paths. In that case, compromised certificates can continue to function long after the organisation believes they have been neutralised. Revocation must work in cached, intermittent, and distributed environments to be meaningful.

Q: How do identity teams reduce risk from long-lived certificates and outdated algorithms?

A: They maintain an inventory of deployed certificates, know which ones depend on aging cryptography, and test their ability to reissue at scale when trust assumptions change. The key question is not whether the algorithm is currently acceptable, but whether the estate can be replaced before the next deprecation event forces action.


Technical breakdown

Why certificate validity periods change the attack window

Certificate validity is a lifecycle decision that trades convenience against exposure. The longer a certificate remains valid, the longer a compromised key or outdated cryptographic assumption can be exploited before the credential is replaced. The article links this to algorithm deprecation, using SHA-1 and older RSA key sizes as examples of why cryptographic strength decays over time. In practice, the issue is not whether a certificate can be issued, but whether the organisation can reissue and replace it quickly when trust assumptions change.

Practical implication: Set certificate validity with a replacement path already defined, not as a standalone policy choice.

How private key storage becomes an authentication control

A certificate only provides meaningful authentication if the associated private key stays out of attacker reach. The article points out that keys stored in plain text on a device can be extracted and used to impersonate the device, decrypt traffic and authenticate to services. It recommends stronger storage approaches such as encrypted key stores or hardware-backed protection like TPMs. This is a control problem about where trust is anchored, because a certificate and a leaked key do not provide the same assurance.

Practical implication: Treat private key storage as part of authentication design, not as a backend implementation detail.

How revocation turns compromise into a bounded event

Revocation is the mechanism that lets a compromised certificate stop being trusted before its natural expiry. The article distinguishes CRL and OCSP as standard ways to distribute revocation status, including offline and intermittent-connectivity scenarios where cached CRLs or stapled OCSP responses can still work. That matters because a certificate strategy without efficient revocation leaves the defender dependent on expiry alone. In a real compromise, that means the attacker keeps using trust that the organisation has no practical way to withdraw.

Practical implication: Make revocation viable in the environments where certificates will actually run, including devices with limited connectivity.


Threat narrative

Attacker objective: Use compromised certificate trust to impersonate devices or users, decrypt traffic and maintain unauthorised access.

  1. Entry occurs when an attacker gains access to a certificate or its private key, or when a deprecated cryptographic scheme remains trusted long after it should not.
  2. Escalation happens when the stolen key is used to impersonate a device, authenticate to a server or decrypt protected traffic.
  3. Impact follows when trust persists because the organisation lacks fast replacement or revocation, allowing the compromised identity to remain usable.
  4. The operational objective is to preserve unauthorised authentication and access for as long as possible before defenders can withdraw trust.
  • GitHub code signing certificate theft 2022: A machine account's compromised token cloned GitHub's Desktop and Atom repos, exposing encrypted signing certificates later revoked.
  • Sisense breach 2024: A credential in Sisense's GitLab reportedly opened S3 buckets of customer tokens, passwords and certificates; CISA urged a full reset.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 150+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Certificate lifecycle is the control, not an administrative afterthought: This article shows that validity, replacement and revocation are inseparable governance decisions. A certificate that outlives its trust assumptions becomes a liability, even if it was issued correctly. For identity programmes, the lesson is that cryptographic trust must be managed as a lifecycle with expiry, replacement and withdrawal already engineered into it.

Private key protection determines whether authentication is real or merely assumed: A certificate cannot prove identity if the key behind it is easy to copy, extract or reuse. Plain-text storage and weak device protection turn the credential into a portable impersonation token. The governance implication is that certificate assurance depends on key custody, not just on issuance policy.

Revocation capability defines whether compromise is containable: The article makes clear that long-lived certificates increase the burden on revocation systems and make replacement more urgent when algorithms age or keys are exposed. If revocation cannot operate in constrained environments, then the security model depends on hope, not control. Practitioners should treat revocation as a core trust boundary, not a fallback feature.

PKI design debt accumulates when teams optimise for issuance convenience: Permissive certificate policies may simplify deployment, but they also enlarge the future cleanup problem when cryptography changes or private keys leak. That is a governance failure because the risk is deferred into operational debt. The right question for identity leaders is whether the estate can absorb forced reissue at scale without losing trust continuity.

Machine and device identity governance depends on the same discipline as human identity lifecycle management: Certificates, like other identities, need ownership, replacement triggers and offboarding paths. The difference is that the failure mode is often silent until trust has already been abused. Identity teams should therefore treat certificate policy as part of the broader access and lifecycle model, not as a separate technical niche.

What this signals

Certificate lifecycle debt: The practical risk is not the existence of certificates but the delay between compromise, deprecation and replacement. When teams extend validity without equally strong renewal and revocation paths, they create a backlog of trust that will eventually have to be repaid under pressure.

Identity programmes should stop treating certificate policy as separate from access governance. The same lifecycle logic that applies to human and machine identities applies here: ownership, expiry, withdrawal and replacement must be explicit or the trust boundary will drift.

A certificate control model is only as strong as the environment it has to survive in. If devices are intermittent, key storage is weak or revocation cannot be checked reliably, then the organisation does not have a complete PKI control surface.


For practitioners

  • Define certificate validity around replacement capability Set validity periods only after confirming that reissuance, renewal and device update mechanisms can complete before trust assumptions age out.
  • Move private keys into protected storage Use encrypted key stores or hardware-backed protection so certificates cannot be trivially impersonated if a device is inspected or compromised.
  • Test revocation in constrained environments Validate CRL caching, OCSP reachability and stapling for devices that may not have reliable internet access, then confirm revocation can actually be enforced.
  • Plan certificate replacement before cryptographic deprecation hits Map which deployed certificates still depend on aging algorithms or key sizes, then build a reissue path for the assets that will age into exposure.
  • Treat certificate policy as lifecycle governance Assign ownership for issuance, renewal, revocation and retirement so certificate trust can be withdrawn as deliberately as it is granted.

Key takeaways

  • Certificate validity, key storage and revocation are one lifecycle problem, not three independent settings.
  • Long-lived certificates increase exposure when cryptographic assumptions age or keys can be extracted.
  • A workable PKI must support reissue and revocation in the environments where devices and services actually operate.

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 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageLeaked private keys turn certificate trust into a credential exposure problem.
NHI-07 — Long-Lived SecretsLong certificate validity increases the exposure window for compromised trust material.
Recommendation — Scan for exposed private keys and revoke any certificate that can no longer be trusted. Shorten certificate validity where replacement and revocation can be enforced reliably.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementIA-5 governs the lifecycle of authenticators, including rotation and revocation.
Recommendation — Apply IA-5 to manage certificate issuance, replacement and withdrawal as one lifecycle.
CIS Controls v8CIS-5 — Account ManagementCertificate-backed identities need ownership and retirement discipline like other accounts.
Recommendation — Track certificate ownership and retire credentials that no longer have a valid business purpose.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementStolen keys enable credential abuse and movement through trusted systems.
Recommendation — Map stolen certificate scenarios to credential access and lateral movement detections.

Key terms

  • Certificate Validity Period: The certificate validity period is the time window during which a certificate is trusted as authentic. In machine identity programmes, that window is also a risk window, because longer lifetimes increase exposure to compromise, cryptographic obsolescence, and delayed replacement.
  • Private Key Protection: Private key protection is the set of controls that keep the secret behind a certificate from being extracted or reused. For devices and workloads, this means preventing plaintext storage, using encrypted stores, or relying on hardware-backed protection so trust cannot be copied easily.
  • Certificate Revocation List: A Certificate Revocation List is a signed publication from a certificate authority that lists certificates that are no longer trusted before their natural expiry. It is used by relying systems to confirm current status, and it becomes operationally useful only when the list is reachable, current, and readable by the consuming toolchain.
  • PKI Governance: PKI governance is the set of ownership, policy, inventory, and lifecycle controls that keep certificate-based trust reliable. It connects technical issuance and renewal processes to accountability, risk reporting, and service continuity, which is why it belongs inside identity governance rather than isolated infrastructure administration.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 25, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org