What Happens When a Code Signing Certificate Is Revoked?
When a code signing certificate is revoked, its status changes before its normal expiration date and the certificate should no longer be relied upon for new signing. The effect on software that was already signed is a separate question: signing time, timestamping, the reason for revocation, and the rules used by the verifier can all matter.
Revoked ≠ expired. Revocation is an active certificate-status event. It does not automatically mean that every application ever signed with the certificate immediately becomes invalid, and it does not destroy the private key.
Certificate revocation means the issuing CA changes the certificate’s status so it should no longer be relied upon for its intended purpose. Unlike expiration, revocation can occur before the certificate’s scheduled end date. A CA may revoke a certificate when an applicable revocation circumstance occurs, such as a private-key compromise or certain forms of mis-issuance.
For code signing, two situations must be kept separate. New signing should not rely on a revoked certificate. Previously signed software requires a signing-time assessment: the signature, certificate chain, timestamp, revocation reason, and verifier behavior can all affect the result.
Certificate Revoked
The certificate’s status changes before its normal expiration.
New Signing Stops
Do not rely on the affected certificate for new releases.
Existing Software
Assess signatures according to signing time and applicable evidence.
Timestamp
A trusted timestamp can provide evidence of when signing occurred.
Publisher Response
Investigate, replace credentials where needed, and re-release where necessary.
The revocation event, step by step
Revocation changes certificate status. It does not erase the signing history. The important decision point comes after the status change: new signing stops, while existing releases move into historical verification.
What Does Certificate Revocation Mean?
Revocation is a status change
A code signing certificate normally has a defined validity period. Revocation is different: the CA invalidates the certificate’s status before that natural endpoint when an applicable reason exists.
Because revocation is a lifecycle event, a verifier may obtain certificate-status information and consider it alongside the signature, chain, timestamp, and other applicable rules.
What revocation does not do
- It does not erase the certificate from every copy of previously signed software.
- It does not magically destroy the corresponding private key.
- It does not by itself prove that the software contains malware.
- It does not answer the historical-signature question without considering signing time and applicable verification rules.
Why Is a Code Signing Certificate Revoked?
Revocation reasons are governed by the applicable certificate requirements and the CA’s policies. The exact reason matters because it can change how previously signed software should be assessed.
Private key compromise
This is one of the most important scenarios. If an unauthorized party may have obtained or used the private signing key, signatures made with that key require incident assessment and the certificate may need to be revoked.
Mis-issuance
A certificate may need to be revoked when it was incorrectly issued or an applicable issuance requirement was not satisfied.
Unauthorized use
Unauthorized use of the certificate or associated signing credentials can trigger revocation under applicable requirements or CA policy.
Identity, organization, or policy circumstances
Changes affecting certificate information, subscriber eligibility, or other applicable requirements can also create revocation circumstances.
Do not treat this as an exhaustive universal list. The precise revocation categories and procedures should be checked against the current applicable CA/Browser Forum requirements and the issuing CA’s policy.
How Is Revocation Different From Expiration?
Expiration and revocation can both lead to certificate-status problems, but they are not the same event. The distinction is especially important when investigating software that was signed before a certificate stopped being usable.
| Aspect | Expired | Revoked |
|---|---|---|
| Why? | The certificate’s validity period ended. | The certificate’s status was intentionally invalidated under an applicable revocation circumstance. |
| Timing | Expected at the end of the validity period. | Can happen before expiration. |
| Private-key compromise | Not implied by expiration. | Can be a reason for revocation. |
| Status checking | Validity-period evaluation is central. | Revocation/status information may be evaluated in addition to validity. |
| New signing | Generally requires a currently valid signing certificate. | Should not rely on the revoked certificate. |
| Existing signatures | Depends on signing time, timestamping, and applicable verification rules. | Depends on signing time, timestamping, revocation reason/status, and applicable verification rules. |
Certificate is within its validity period.
Certificate status has been invalidated before normal expiration.
What Happens to the Private Key After Revocation?
Revocation changes the certificate’s status. It does not destroy or disable the private key itself. If the reason for revocation involves key compromise, the signing key must be treated as compromised and removed from the signing workflow.
For the broader key-protection topic, see Private Key Protection.
Can You Still Sign Software With a Revoked Certificate?
Short answer: do not rely on it
A revoked certificate should not be used as the basis for new software signing. Even if a signing tool can technically access the private key, that does not make the resulting certificate status acceptable for a new release.
What should happen instead?
- Confirm the revocation reason and incident scope.
- Stop the affected signing workflow.
- Obtain a replacement certificate.
- Generate a new key when compromise is suspected.
- Update release and CI/CD signing configuration.
- Verify the replacement signatures before distribution.
This section concerns new signing. The treatment of software that was already signed is more nuanced and should be analyzed separately.
What Happens to Software That Was Already Signed?
This is the most important distinction on the page. It is too broad to say, “The certificate was revoked, therefore every application ever signed with it is immediately invalid.” Historical signatures need to be evaluated using the evidence available about the signing event and the rules applied by the relevant verifier.
Software signed before revocation
Potentially relevant questions include:
- When exactly was the software signed?
- Was a trusted timestamp included?
- Why was the certificate revoked?
- What certificate chain and status information are available?
- How does the platform or verification tool evaluate the signature?
Software signed after revocation
A revoked certificate should not be treated as a valid basis for new signing. A release created after the revocation event should move to the replacement signing credential instead.
Where a private-key compromise is involved, the incident should be treated as a security event rather than merely as an administrative certificate replacement.
Already signed
Historical evidence is evaluated: signing time, timestamp, revocation reason, chain, and verifier rules.
New release
Move to a replacement signing credential rather than creating a new signature with the revoked certificate.
Why Does Timestamping Matter After Revocation?
A trusted timestamp provides evidence associated with when a signature was created. That evidence can be important when a signing certificate later expires or is revoked because the verifier may need to distinguish a signature made while the certificate was usable from one made later.
The publisher has a usable signing certificate.
The publisher creates the signature with the private key.
Trusted signing-time evidence is attached to the signature.
The certificate status changes after the historical signing event.
The verifier can consider signing time, timestamp, status, reason, and applicable rules.
Signing-time evidence
Timestamping can establish evidence about when the signature was made. It does not automatically make every revoked-certificate scenario acceptable.
This is particularly important when the revocation reason is a private-key compromise or a mis-issuance. A timestamp answers a timing question; it does not erase every other security or certificate-status issue.
See Code Signing and Timestamping Explained for the complete timestamping model.
What Does a Verifier Check After Revocation?
There is no single universal verification implementation across every platform and tool. A useful conceptual model is to evaluate the signed object, its cryptographic signature, certificate chain, status information, and any timestamp/signing-time evidence that applies.
Signature
Does the signature cryptographically verify against the signed data and public key?
Certificate
Is the certificate suitable and valid in the context being evaluated?
Chain
Can the certificate chain be built and validated toward an appropriate trust anchor?
Status & Time
What do revocation status, timestamp, signing time, and applicable rules indicate?
How Can Revocation Affect the User Experience?
The user-facing result depends on the software format, operating system, verification tool, certificate chain, status information, signing time, and platform policy. Revocation is therefore not synonymous with one specific warning dialog.
A certificate viewer or signature interface may expose the revoked status when status information is available and checked.
A verifier may determine that the certificate or signature cannot be relied upon in the relevant context.
The identity displayed with a signature can be accompanied by warnings or a changed trust assessment.
In some circumstances, a previously signed and timestamped release can be evaluated using its signing-time evidence and applicable rules.
Important: none of these outcomes means that revocation itself detected malware. Certificate status and software security scanning are separate concepts.
What Should a Publisher Do After Revocation?
The safest response is to treat revocation as a certificate incident with a defined investigation and replacement process. The exact actions depend on the reason for revocation, but the following sequence gives a practical starting point.
Stop affected signing
Remove the revoked certificate from active release workflows and stop using the affected key where required.
Determine the reason
Confirm why the CA revoked the certificate and whether the event indicates key compromise or mis-issuance.
Investigate exposure
Review signing systems, access logs, credentials, build servers, HSM/cloud signer access, and recent releases.
Replace credentials
Generate a new signing key when compromise is suspected and obtain a replacement certificate.
Re-sign where necessary
Determine which releases require replacement signatures or a new distribution package.
Verify new releases
Check the replacement signature, certificate chain, timestamp, and platform behavior before publishing.
Update CI/CD
Replace certificate references, secrets, signing profiles, and cloud/HSM configuration in the release pipeline.
Audit controls
Improve key access, credential isolation, approvals, logging, and incident-response procedures before normal release operations resume.
What Happens to Previously Released Software?
Previously distributed software should be assessed separately from new releases. A publisher should not automatically assume either “everything is invalid” or “nothing needs to change.” The correct response depends on the signing history and the reason for revocation.
Questions to answer
- Which applications and versions were signed by the affected certificate?
- When was each release signed?
- Which signatures contain trusted timestamps?
- Was the certificate revoked because of key compromise or another reason?
- How do the target platforms currently evaluate those signatures?
Possible response
Some releases may need no immediate replacement if their signatures remain appropriately verifiable under the relevant rules. Other releases may require re-signing, repackaging, withdrawal, or an emergency update—especially where a compromised private key could have been used to sign unauthorized software.
That decision should be made release by release rather than from the certificate status alone.
What If the Private Key Was Compromised?
A private-key compromise is the highest-impact scenario because the attacker may be able to create signatures that cryptographically correspond to the publisher’s certificate. The incident therefore concerns not only the certificate but also the integrity of releases signed with the affected key.
Incident response sequence
- Confirm or contain the compromise.
- Stop all signing with the affected key.
- Revoke the certificate through the appropriate process.
- Investigate the period and systems potentially exposed.
Recovery sequence
- Generate and protect a replacement signing key.
- Obtain a new certificate.
- Re-sign or re-release affected software where necessary.
- Audit the signing infrastructure and strengthen controls.
How Does Certificate Revocation Affect CI/CD?
Modern signing pipelines often involve build servers, secrets, HSMs, cloud signing services, or dedicated signing infrastructure. After revocation, the certificate replacement must propagate through every point that references the old credential.
The key question
What needs to change in the signing pipeline after certificate revocation?
At minimum, review stored certificates, signing profiles, secret references, service accounts, HSM or cloud-signer configuration, release permissions, and any automated jobs that could still invoke the old signing credential.
Where key compromise is suspected, rotating only the certificate while leaving the same private key in production can fail to address the underlying problem.
See Code Signing in CI/CD for the broader pipeline model.
Build
Identify releases signed with the affected credential.
Signing Service
Remove or disable old certificate/key references.
Replacement
Provision the new certificate and key securely.
Release
Verify and publish the newly signed artifacts.
Artifact enters release pipeline.
Revoked certificate blocks the intended signing path.
New key and certificate are provisioned.
Artifact is signed, timestamped, verified, and published.
How Can You Check Whether a Certificate Has Been Revoked?
When investigating a suspected revocation, inspect the certificate and its status rather than relying on a single warning message. The available tools and exact status behavior vary by platform.
Where to look
- Certificate viewer or signature properties
- Certificate-status information and supported revocation mechanisms
- Platform verification interfaces
- Signing and certificate inspection tools
- Certificate checking services or diagnostic utilities
What to inspect
- Certificate status
- Issuer
- Serial number
- Validity period
- Certificate chain
- Revocation information
- Timestamp and signing-time evidence
A status result should always be interpreted in context. If the signature is failing, also check the chain, signed data, timestamp, and platform-specific verification result rather than assuming revocation is the cause.
See Certificate Checker for certificate inspection guidance.
How Is Revocation Different From Other Certificate Problems?
“Certificate error” is not a diagnosis. These conditions can produce different verification outcomes and require different fixes.
Common Misconceptions About Code Signing Certificate Revocation
Related Code Signing Resources
Use these pages to go deeper into the specific parts of the revocation problem without repeating this page’s central question.
