Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Are Code Signing Certificates?

A code signing certificate lets a publisher sign software so users and operating systems can confirm who produced it and that nobody altered it afterwards. Stolen signing keys are prized by attackers.

Illustration for the cybersecurity term Code Signing Certificates
Home / Blog / Cybersecurity Terms / What Are Code Signing Certificates?
17 November 2026

What Are Code Signing Certificates?

What Are Code Signing Certificates?

A code signing certificate binds a publisher’s identity to a private key used to sign executables, drivers, installers, scripts, and packages. When a user runs the file, the operating system checks the signature, confirms that the bytes have not changed since signing, and displays the publisher name rather than the blunt warning reserved for unknown software.

It is an authenticity control, not a safety guarantee. A signature says Acme Ltd produced this file. Whether Acme Ltd produced something you should run is a separate question entirely.

How It Works in Practice

The mechanics are the same as any digital signature: hash the file, sign the hash with the private key, and embed the signature plus the certificate chain in the file itself. Verification recomputes the hash, checks the signature, and validates the chain to a trusted root.

Each platform wraps that differently:

Timestamping Is Not Optional

A signature made without a trusted timestamp becomes invalid the day the certificate expires, which would break every copy of the software already shipped. An RFC 3161 timestamp from a timestamping authority records when the signature was made, so verification succeeds afterwards as long as the certificate was valid at that moment. Sign without a timestamp and you have given your release a two- or three-year shelf life.

Why Attackers Want Your Signing Key

A signed implant bypasses warnings, satisfies many application allowlisting rules, and often evades endpoint detection that treats signed binaries as lower risk. The history is long:

Because of incidents like these, the CA/Browser Forum changed the rules: since 1 June 2023 the private keys for all publicly trusted code signing certificates must be generated and held in hardware meeting FIPS 140-2 Level 2 or Common Criteria EAL4+, whether a USB token, a hardware security module, or a cloud signing service. Exporting a signing key to a build agent is no longer permitted, and for good reason.

Running a Signing Process That Survives Audit

  1. Keep signing keys in an HSM or a managed signing service, and never in a repository, a pipeline variable, or a developer laptop.
  2. Sign in a dedicated, logged step that accepts artefacts from the build system rather than handing credentials to every pipeline.
  3. Require approval for release signing, and keep an auditable record of what was signed, by whom, and when.
  4. Always timestamp.
  5. Monitor for your own publisher name appearing on software you did not release, and know how to request revocation at short notice.

Revocation deserves thought in advance. Revoking a code signing certificate can invalidate every unsigned-by-timestamp release at once, so vendors and CAs usually set a revocation date tied to the suspected compromise. Deciding that under pressure, during an incident, is not the moment to discover your build records are incomplete.

Beyond Certificates

Open source projects increasingly use Sigstore, which issues short-lived certificates tied to an identity from an OpenID Connect provider and records every signature in a public transparency log called Rekor. The model removes long-lived keys from the equation and gives the same public auditability that Certificate Transparency brought to TLS. For organisations building their own software, signing sits alongside SBOM generation and dependency provenance as part of a defensible pipeline, which we assess within our regulation and compliance services.

FAQ – Frequently Asked Questions

Does a Signed File Mean the Software Is Safe?

No. Signing proves who published the file and that it has not been modified since. Malware authors obtain certificates under shell company names, buy them on criminal markets, or steal them from legitimate vendors. Treat a valid signature as identity evidence that supports reputation checks, not as a verdict on whether the code is trustworthy.

Do I Need an EV Code Signing Certificate?

Since June 2023 all publicly trusted code signing keys must be stored in approved hardware, so the practical gap between standard and EV has narrowed. EV still carries more weight with Microsoft SmartScreen reputation and is required for kernel-mode driver attestation on Windows. For normal user-mode applications a standard certificate with good release hygiene is usually enough.

What Happens to My Released Software If the Certificate Expires?

Nothing, provided each signature carries an RFC 3161 timestamp proving it was made while the certificate was valid. Without a timestamp, verification fails on the expiry date and users see warnings on software that worked the day before. Always timestamp, and check that your signing tooling has not silently skipped it.

How Should We Store the Signing Key in CI/CD?

Do not store it in CI at all. Use a cloud signing service or an HSM that signs on request, authenticate the pipeline to it with a short-lived workload identity, and restrict which branch or release job may invoke signing. Log every signing operation and alert on requests outside the release window.

Related Terms

You May Be Interested In These

What Is the MOVEit Transfer Vulnerability?

Cybersecurity Terms

17 November 2026

What Is the MOVEit Transfer Vulnerability?

Read More
What Is a Post-Incident Hardening Checklist?

Cybersecurity Terms

17 November 2026

What Is a Post-Incident Hardening Checklist?

Read More