In short
A code signing certificate is an X.509 certificate that a public certificate authority issues to a verified organization or individual so they can digitally sign software; Windows and other platforms use the signature to show who published a file and to detect any change made after signing. Since June 1, 2023 its private key must be generated and used inside certified hardware, and a certificate issued on or after March 1, 2026 is valid for at most 460 days. OV and EV certificates sign in exactly the same way: EV adds stricter organization vetting and is the one Microsoft requires to register for its hardware developer program, but it no longer bypasses SmartScreen warnings.
If you already know you need one, the Standard and EV code signing certificates page lists terms, what validation asks for and how the key is delivered. (My-SSL sells Certum code signing certificates, including the Standard and EV types discussed here.)
On this page
Most explanations of code signing certificates were written before the rules changed, and it shows. Several of the pages that rank for this question still say that EV signing gets instant SmartScreen reputation, or that a standard certificate's key can sit on a server. Neither is true for a certificate you buy today. This page covers what the certificate is, what is literally inside one, and the 2026 rules a buyer has to plan around.
What does a code signing certificate do?
A code signing certificate ties a verified publisher name to a key, so that a signature made with that key proves two things about a file: which publisher signed it, and that its bytes have not changed since. Windows checks this for executables, installers, drivers and scripts, Java checks it for JAR files, and Office checks it for VBA macros.
When a user downloads a signed .exe, Windows recomputes the file's hash and compares it with the signed one. If the file was corrupted in transit or repackaged with something extra, the hashes no longer match and the signature fails. If they match, Windows can show the publisher name from the certificate instead of "Unknown publisher". Office applies the same idea to macros; our guide to signing a VBA macro and getting it past Office's macro block covers that path, and PowerShell enforces it through its AllSigned and RemoteSigned execution policies, which is where the error in why PowerShell says a script is not digitally signed comes from.
A signature does not prove the code is safe. It proves provenance and integrity, and it makes the publisher accountable, because the CA can revoke a certificate that is used to sign suspect code. How criminals still obtain valid certificates, and which of those routes the rules have closed, is the subject of why malware gets signed with valid certificates. And if you are wondering whether the SSL certificate you already own could do this job, it cannot; code signing vs SSL certificates shows why.
What is inside a code signing certificate? A real signed file
A code signing certificate contains the publisher's verified name, the issuing CA, a validity period, a public key, and two fields that decide what it is: an Extended Key Usage of Code Signing, which every publicly trusted one must carry, and a CA/Browser Forum policy identifier marking it as OV or EV, of which a certificate issued since September 15, 2026 must carry exactly one.
To show this on a real certificate rather than a diagram, on November 6, 2026 we downloaded the 64-bit PuTTY 0.85 putty.exe from its official site and read its Authenticode signature on Linux with osslsigncode 2.8 and OpenSSL 3.0.13. PuTTY is an open-source SSH client whose author signs the Windows builds as an individual, so the subject below is a person rather than a company.
$ osslsigncode verify -in putty.exe # output trimmed: [...] marks removed lines
Signature Index: 0 (Primary Signature)
Message digest algorithm : SHA1
[...]
Signer's certificate:
Subject: /C=GB/ST=Cambridgeshire/O=Simon Tatham/CN=Simon Tatham
Issuer : /C=GB/O=Sectigo Limited/CN=Sectigo Public Code Signing CA R36
notBefore : Sep 27 00:00:00 2024 GMT
notAfter : Sep 27 23:59:59 2027 GMT
[...]
Countersignatures:
Timestamp time: Aug 14 05:59:07 2026 GMT
Issuer: /C=GB/O=Sectigo Limited/CN=Sectigo Public Time Stamping CA R41
[...]
Timestamp Server Signature verification: ok
[...]
Signature verification: ok
Signature Index: 1
Message digest algorithm : SHA256
[...]
Timestamp time: Aug 14 05:59:11 2026 GMT
[...]
Number of verified signatures: 2The file carries two signatures, an older SHA-1 one and a SHA-256 one nested beside it, and each has its own timestamp from Sectigo's timestamp authority. Pulling the publisher's certificate out of the signature shows the fields that matter:
$ osslsigncode extract-signature -in putty.exe -out sig.der
$ openssl pkcs7 -inform DER -in sig.der -print_certs -out certs.pem
$ awk '/BEGIN CERT/{n++} {print > ("cert" n ".pem")}' certs.pem # one file per certificate
$ openssl x509 -in cert3.pem -noout -subject
subject=C = GB, ST = Cambridgeshire, O = Simon Tatham, CN = Simon Tatham
$ openssl x509 -in cert3.pem -noout -text # output trimmed to the relevant lines
Public-Key: (4096 bit)
X509v3 Key Usage: critical
Digital Signature
X509v3 Extended Key Usage:
Code Signing
X509v3 Certificate Policies:
Policy: 1.3.6.1.4.1.6449.1.2.1.3.2
Policy: 2.23.140.1.4.1| Field | In this certificate | What the rules say (CSBR v3.11.0) |
|---|---|---|
| Extended Key Usage | Code Signing | id-kp-codeSigning (1.3.6.1.5.5.7.3.3) MUST be present; server authentication MUST NOT (§7.1.2.3) |
| Key Usage | Digital Signature, critical | digitalSignature required; it may not sign other certificates (§7.1.2.3) |
| Policy identifier | 2.23.140.1.4.1 | 2.23.140.1.4.1 for non-EV, 2.23.140.1.3 for EV (§7.1.6.1); exactly one of them since September 15, 2026 (§7.1.6.4) |
| Validity | Sep 27, 2024 to Sep 27, 2027 | At most 39 months before March 1, 2026; at most 460 days from then (§6.3.2) |
| Public key | RSA, 4,096 bits | RSA of at least 3,072 bits (§6.1.5.2); Microsoft accepts no ECC and nothing above 4,096 bits for code signing |
Two practical lessons come out of this. The policy identifier is the reliable way to tell OV from EV, because both look the same in the signing tools and both show a publisher name; the background is in the reserved code signing policy OIDs. And a three-year certificate like this one could still be bought in 2024, but not since March 1, 2026. What the output cannot show is where the key is kept; for a certificate issued after June 1, 2023 that has to be certified hardware. To run the same check on your own builds, see how to verify a code signature. What we did not run: Windows SignTool and SmartScreen, because the test host was Linux.
How does code signing work?
Code signing hashes the file, signs the hash with the publisher's private key, and embeds the signature and certificate in the file. A timestamp authority then countersigns with the current time. The user's system repeats the hash, checks the signature against the certificate, and checks the certificate chain and validity at the timestamped moment.
Nothing in the file is encrypted. A signed installer is as readable as an unsigned one; the signature only makes changes detectable. The signing itself happens wherever the key is, which since 2023 means a token, an HSM or a cloud signing service, while the signing tool runs on your machine or build server. For Windows the tool is usually SignTool, covered step by step in signing an EXE with SignTool; the same flags apply when you sign a DLL, strong-named .NET assemblies included, and installer builders such as Inno Setup can call it for you, as shown in signing an Inno Setup installer.
Why the timestamp decides what happens at expiry
A timestamp lets a signature outlive the certificate. Windows checks whether the certificate was valid at the time recorded in the timestamp, so a timestamped release keeps verifying after the certificate expires. Microsoft's documentation states the opposite case plainly: without a timestamp, the signature becomes invalid when the signing certificate expires and Windows treats the binary as unsigned.
The PuTTY file above shows the normal pattern: signed and timestamped on August 14, 2026, with a certificate that runs to September 2027. When that certificate expires, this release will keep verifying. A timestamp does not shield a release from revocation, though: when a key is compromised or used to sign suspect code, the CA sets the revocation date from its investigation, back in time if appropriate, and signatures timestamped after that date stop being trusted. The timestamp URLs and flags for each tool are in code signing timestamping explained.
OV vs EV code signing: what is actually different?
OV code signing certificates, often sold as Standard, and EV code signing certificates produce identical signatures and follow the same hardware key rule. The differences are who may hold them, how much the CA checks, the policy identifier in the certificate, and a few Microsoft programs that accept only EV. SmartScreen treats them alike.
| As of November 2026 | OV (Standard) code signing | EV code signing |
|---|---|---|
| Who can hold it | An organization, or an individual where the CA offers it (Certum does) | A registered organization (Certum: registered companies only) |
| What the CA checks | Identity of the person or organization | Stricter organization vetting, including a verified phone, email or postal contact; Certum adds an organization utility bill and confirmation of a physical office |
| Policy identifier | 2.23.140.1.4.1 | 2.23.140.1.3 |
| Private key | Certified hardware (FIPS 140-2 L2 or CC EAL 4+) | The same rule |
| SmartScreen | Builds reputation over time | Builds reputation over time; no bypass |
| Windows Hardware Developer Program | Not accepted for registration | Required to register; Microsoft then signs the kernel drivers |
| Certum's listed issue time | 1–5 days | 1–7 days |
The driver row is the one that most often decides the purchase. Microsoft's registration page for the Windows Hardware Program says you must have an EV code signing certificate, and also that you don't need to sign your driver with it: since Windows 10 version 1607, new kernel-mode drivers have to be signed by Microsoft through the Hardware Dev Center, and the EV certificate identifies your company to that portal. If drivers are your reason, the EV code signing certificate is the one to look at, and how to sign a Windows driver walks through the submission. For everything else the trade-off is set out in EV vs OV code signing compared.
Does an EV certificate still skip SmartScreen warnings?
No. An EV code signing certificate no longer skips Microsoft Defender SmartScreen. Microsoft's developer documentation says EV certificates no longer bypass SmartScreen and no longer affect its behaviour, so EV-signed and OV-signed files both start without reputation and earn it from real downloads. Microsoft gives no date for the change.
For years the main sales argument for EV was that its files got positive reputation straight away, so users never saw "Windows protected your PC". Microsoft's page now describes that behaviour as something that existed years ago and no longer does. What any valid signature still gives you is the verified publisher name in the prompt instead of "Unknown publisher", and a publisher identity that reputation can accumulate against. Unsigned and self-signed files get the full warning.
Reputation follows the signing identity. Microsoft says changing your signing certificate affects the publisher trust signal, and that reputation does not carry over from earlier versions unless they were signed with the same publisher identity. It publishes no threshold for how many installs it takes. The practical advice is in our SmartScreen publisher reputation guide, and if users are already seeing the prompt, start with fixing the unknown publisher warning.
Where must the private key of a code signing certificate live?
Since June 1, 2023, the CA/Browser Forum's code signing requirements make the CA ensure that the subscriber's private key is generated, stored and used in a hardware crypto module certified to at least FIPS 140-2 Level 2 or Common Criteria EAL 4+. That applies to OV certificates as much as to EV. A key in a PFX file on a laptop is no longer possible.
In practice there are three ways to meet the rule:
- A token or card shipped by the CA. Simple for one signer on one machine, awkward to share or to plug into a build server.
- Your own certified HSM, on-premises or in a cloud KMS. The CA has to verify the setup before issuing, for example through key attestation or an audit report. With a key in Azure Key Vault, signing runs through a tool such as AzureSignTool and a Premium vault. Not every CA offers this route.
- A cloud signing service run by the CA. The key stays in the CA's HSM and you sign through an app or API. Certum's SimplySign works this way, with key storage Certum rates FIPS 140-2 Level 3 or CC EAL 4+, and needs the SimplySign mobile app and SimplySign Desktop to sign.
Key type matters for Windows too. The code signing requirements set a minimum of 3,072 bits for RSA, and the Microsoft Trusted Root Program says code signing does not support ECC or keys larger than 4,096 bits, which leaves RSA 3,072 or 4,096. For a pipeline with several build agents the storage model matters more than the validation level; the trade-offs are compared in cloud code signing vs USB tokens, and the first signature with a Certum certificate is covered in setting up SimplySign Desktop for code signing.
How long does a code signing certificate last?
A publicly trusted code signing certificate issued on or after March 1, 2026 is valid for at most 460 days, under section 6.3.2 of the CA/Browser Forum's code signing requirements. Certificates issued before that date could run for up to 39 months, which is why three-year certificates like the one in the PuTTY test are still in circulation.
Multi-year purchases still exist, but they are now plans rather than certificates. Certum, for example, caps a single certificate at 459 days and covers two- and three-year products with free reissues during the term. Microsoft says changing the signing certificate affects SmartScreen's publisher trust signal, so treat each renewal or reissue as a planned release step. What changed and how to plan around it is in the 460-day validity change, and the mechanics of replacing a certificate are in code signing certificate renewal.
Who can get a code signing certificate, and what does it take?
Organizations can get either type. Individual developers can get a Standard (OV) certificate from CAs that issue to natural persons, Certum among them, but not EV. Every applicant passes an identity check, so there is no anonymous code signing and no domain-validated tier like the cheapest SSL certificates.
With Certum, every applicant starts with identity verification, either automatic or through a registration point, a notary or photos of both sides of an ID. An individual applying for Standard also provides a utility bill in their name. An organization provides a power of attorney only when the applicant cannot represent it, and a registration document only when the company is not in a public registry. EV adds an organization utility bill and confirmation of a physical office. The full list is in Certum code signing required documents.
Certum lists a standard issue time of 1 to 5 days for Standard and 1 to 7 days for EV, without saying whether those are business days or when the clock starts. What usually stretches the timeline, and what does not, is covered in how long code signing validation takes. If you are publishing alone, read code signing certificates for individual developers first, because your own name, not a project name, becomes the publisher users see.
Which code signing certificate should you get?
Most software publishers need a Standard (OV) certificate: it signs Windows executables, installers, DLLs, scripts and JAR files exactly as EV does. Choose EV when you register for Microsoft's hardware program to ship drivers, or when a customer's procurement rules ask for it. Choose the key storage model before the vendor.
- A desktop app, installer or script for Windows? Standard is enough. EV will not shortcut SmartScreen.
- Windows kernel-mode drivers? You need an EV code signing certificate for the Hardware Dev Center.
- Signing in CI/CD? Pick a cloud signing service or an HSM you control rather than a single USB token, then read code signing in CI/CD pipelines.
- An open-source project? Compare the free and discounted routes in open source code signing certificates before paying for a standard one.
- macOS software? Apple uses its own Developer ID certificates and notarization for Mac software distributed outside the Mac App Store, so a CA's code signing certificate does not replace them.
- Not sure you need one at all? Do I need a code signing certificate? draws the line by platform and use case.
When not to buy: if you distribute only through the Microsoft Store, Microsoft re-signs Store packages itself, so a code signing certificate of your own adds nothing to what users see there. Prices across CAs are compared in what a code signing certificate costs, and the CAs themselves, on key storage and who may apply, in code signing certificate providers compared.
Frequently Asked Questions
Quick answers to related questions.
Do I still need an EV certificate to avoid SmartScreen warnings?
No. Microsoft's SmartScreen documentation says EV certificates no longer bypass SmartScreen and no longer affect its behaviour. A file signed with a valid OV or EV certificate shows your verified publisher name, but SmartScreen can still flag it as unrecognized until reputation builds for that publisher and file. Microsoft does not publish a threshold. Choose EV for the reasons that remain, such as registering for Microsoft's hardware developer program, not to skip the warning.
Can I keep the private key on my laptop or build server?
Not as a file. Since June 1, 2023 the CA/Browser Forum's code signing requirements make the CA ensure the subscriber's private key is generated, stored and used in a hardware crypto module certified to at least FIPS 140-2 Level 2 or Common Criteria EAL 4+. That module can be a USB token or card, your own HSM, or a CA's cloud signing service. Your laptop or build server can still run the signing tool; it just reaches the key through the device or the service.
What happens to signed software when the certificate expires?
If each signature carries a trusted timestamp, the software keeps verifying after the certificate expires, because Windows checks the certificate against the time in the timestamp. Microsoft's documentation is explicit about the other case: without a timestamp, the signature becomes invalid when the signing certificate expires and Windows treats the binary as unsigned. Revocation is different: if a key is compromised, the CA can set the revocation date back to the compromise, and signatures timestamped after that date stop being trusted.
How can I tell whether a certificate is OV or EV?
Look at its Certificate Policies extension. The CA/Browser Forum reserves policy identifier 2.23.140.1.4.1 for non-EV (OV, often sold as Standard) code signing certificates and 2.23.140.1.3 for EV code signing certificates, and a CA must include the matching one. In Windows, open the file's Properties, then Digital Signatures, Details, View Certificate, Details tab, Certificate Policies. On Linux, extract the signature with osslsigncode and read the certificate with openssl x509 -text.
Is a code signing certificate the same as an SSL/TLS certificate?
No. Both are X.509 certificates from public CAs, but a code signing certificate must carry the code signing purpose (id-kp-codeSigning) and is forbidden from carrying the server authentication purpose that TLS needs, while the CA/Browser Forum's TLS Baseline Requirements forbid a public TLS certificate from carrying the code signing purpose. A TLS certificate secures a connection to a domain. A code signing certificate signs a file you distribute, and its key must sit in certified hardware.
Does signing my code mean it's safe?
No. A valid signature proves which verified publisher signed the file and that nobody changed it afterwards. It says nothing about whether the code is free of bugs or malicious behaviour, and signed malware exists. What signing adds is accountability: the publisher's name is attached to the file, and a CA can revoke the certificate if it is used to sign suspect code.
Getting a code signing certificate from My-SSL
My-SSL sells Certum code signing certificates: Standard for individual developers and organizations, from $99 for one year, and EV for organizations, from $299 for one year. They are delivered through Certum's SimplySign cloud signing service, with no USB token shipped. Terms, validation steps and checkout are on the code signing certificates page.
Updated November 6, 2026: rewritten around a real signed file (certificate fields, policy identifiers, timestamps), the 460-day validity limit, who can hold OV and EV with Certum's documents and issue times, and Microsoft's current SmartScreen wording; an unsourced date for the SmartScreen change and the dual-signing advice were removed.