Windows Code Signing & SmartScreen Reputation Guide for Indie Devs
A practical breakdown of Windows Authenticode code signing in 2026 — comparing Azure Trusted Signing (Artifact Signing) against OV/EV hardware tokens, why fresh certs still trigger SmartScreen, and how to wire CI cleanly.
Nothing kills Windows conversion faster than the blue "Windows protected your PC" SmartScreen interstitial. Unlike macOS — where a $99/year Apple Developer account gets every indie notarized on day one — Windows Authenticode signing historically meant $400+/year certificates, mailed USB hardware dongles, and painful CI workarounds.
1. Comparing your 2026 Windows signing options
| Option | Typical Cost | SmartScreen Reputation | CI Friendly? |
|---|---|---|---|
| Azure Trusted Signing (Artifact Signing) | ~$9.99/mo Basic | Immediate Microsoft-backed reputation (no blue wall) | Yes — pure OIDC / cloud API in GitHub Actions |
| Cloud KMS OV Certificate (SSL.com / DigiCert) | $250-$450/yr | Builds gradually over hundreds of unique installs | Yes — cloud signing API, no USB dongle |
| Hardware Token EV Certificate | $400-$650/yr | Faster initial trust (note: Microsoft phased out instant EV bypass) | Hard — requires physical HSM or self-hosted runner |
2. Sign both the app executable AND the outer NSIS/Squirrel installer
A common mistake is signing only Setup.exe while leaving MyApp.exe or the uninstaller unsigned inside. Windows Defender inspects the extracted binary on first launch AND electron-updater verifies that the signer publisher Subject matches the currently installed executable before running a silent update.
# Verify signature chain and timestamp on Windows runner
signtool verify /pa /v dist\MyApp-Setup-1.8.0.exe
# Check publisher subject matches across releases (required by electron-updater)
(Get-AuthenticodeSignature dist\MyApp-Setup-1.8.0.exe).SignerCertificate.Subject3. Protect publisher continuity across auto-updates
If you migrate from a DigiCert OV cert to Azure Trusted Signing, the certificate Subject CN can change slightly. In electron-updater, declare both old and new publisher names in publisherName (or release one bridge update) so existing Windows users upgrade cleanly without signature verification rejections.
- Always use SHA-256 digest (/fd sha256) and an RFC 3161 timestamp server (/tr) so signatures stay valid after the short-lived cert expires.
- Submit newly signed installers to Microsoft Security Intelligence if your first build ever hits false-positive Defender heuristics.
- Keep latest.yml SHA-512 digests computed AFTER final Authenticode signing — signing mutates the PE binary and changes its hash!
Ship your Mac or Electron app with a single git tag.
Permanent OS-aware download links, cached Sparkle & Electron auto-update feeds, Polar/Stripe PPP checkout, and license keys — with 0% cut on your sales.