Subscribe to the Non-Human & AI Identity Journal

How should organisations govern code signing certificates for software releases?

Treat code signing certificates as privileged identity assets. Define ownership, approval, renewal, and revocation workflows, and ensure certificate policy is enforced before software reaches distribution paths. The goal is to keep publisher identity, release governance, and trust decisions aligned so a signed package is also a verified one.

Why This Matters for Security Teams

code signing certificate are not just build artifacts. They are publisher identities that tell downstream systems, customers, and app stores who is trusted to release software. If those certificates are weakly governed, a signed package can become a high-trust delivery vehicle for malicious code, dependency tampering, or unauthorized release activity. NIST’s Cybersecurity Framework 2.0 treats identity and access as a core governance function, and that same logic applies to release signing assets. The NHI Mgmt Group notes that 97% of NHIs carry excessive privileges, which is a useful warning here because signing keys often end up with broader access than the release process actually needs, as discussed in the Ultimate Guide to NHIs — Lifecycle Processes for Managing NHIs.

Teams commonly focus on build integrity while underestimating the identity risk tied to the certificate itself. A certificate may be technically valid long after the workflow that issued it has changed, the owning team has been reorganized, or the release pipeline has been compromised. In practice, many security teams encounter certificate misuse only after a suspicious release has already been distributed, rather than through intentional lifecycle governance.

How It Works in Practice

Effective governance treats code signing certificates as privileged non-human identities with explicit ownership, limited scope, and documented lifecycle control. The operational goal is to make release signing a controlled event, not a standing entitlement. That means defining who can request a certificate, who approves issuance, which systems may use it, how it is protected, and what triggers revocation or renewal. Current guidance suggests that certificate policy should be enforced before a release enters any distribution path, not after publication.

In mature environments, the certificate is bound to the signing workflow rather than a person’s workstation or a generic shared account. This is where workload identity concepts matter. Teams should prefer centralized certificate management, HSM-backed key storage where feasible, and short-lived access to signing functions. The same lifecycle discipline described in the Ultimate Guide to Non-Human Identities applies here: inventory the asset, set clear ownership, monitor usage, rotate on schedule, and revoke immediately on compromise or role change.

  • Use separate certificates for distinct products or release channels.
  • Restrict signing keys to controlled pipeline stages and approved operators.
  • Log every signing event with build metadata, approver identity, and artifact hash.
  • Verify that certificates are valid, unexpired, and policy-compliant before distribution.
  • Automate revocation and replacement when a key, pipeline, or vendor trust relationship changes.

For implementation detail, the SPIFFE overview is useful when organisations want stronger workload identity for the systems that request signing actions, while the NIST CSF 2.0 supports the governance side of ownership, control, and recovery. These controls tend to break down when signing is performed manually across disconnected build servers because key custody, approval evidence, and revocation response become inconsistent.

Common Variations and Edge Cases

Tighter certificate control often increases release overhead, requiring organisations to balance faster deployment against stronger publisher assurance. That tradeoff is real, especially in teams that ship frequently or support multiple products. Best practice is evolving on how much to centralize versus delegate, but there is no universal standard for this yet.

Some organisations use a single enterprise certificate, while others segment by product, environment, or business unit. The safer pattern is usually narrower scope and shorter certificate validity, but that can strain teams that lack automation. The SailPoint report shows only 38% of organisations have automated certificate lifecycle management, and certificate expiry is the leading cause of outages for 45%, which makes this a reliability issue as well as a security one. When workflows are highly distributed, manual approval chains and spreadsheet tracking are weak controls because they cannot keep pace with rapid release cycles.

One important edge case is code signing in outsourced or open-source release models. If third-party maintainers, contract developers, or CI providers can trigger signing indirectly, the trust boundary expands quickly. Another is emergency hotfixes, where teams are tempted to bypass policy to restore service. Those exceptions should be explicitly documented, time-bound, and reviewed after the fact. For broader NHI governance context, the Top 10 NHI Issues and Ultimate Guide to NHIs — Regulatory and Audit Perspectives both reinforce the same point: trust assets need provable ownership, not informal stewardship.

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 AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Certificate lifecycle control maps to rotation, renewal, and revocation of privileged NHI assets.
NIST CSF 2.0 PR.AC-4 Release signing needs least-privilege access and controlled identity verification.
NIST AI RMF AI RMF is relevant where release automation or agentic pipelines request signing actions.

Apply governance and accountability controls to any automated system that can trigger code signing.