Getting a Windows code-signing certificate sounds like a form you fill out once. It wasn't. Our Mac builds have been signed and notarized since early November — Apple's process, while not simple, worked the first time. Windows had nothing: unsigned DLLs that Windows Defender could silently quarantine with no error message, and nothing stopping SmartScreen from treating every install as suspicious software from an unknown publisher. Getting that fixed took most of two nights, and almost none of the time went where I expected it to.
Why this got cheaper in the first place
The old fix meant buying a traditional code-signing certificate — $200 or more a year, and since 2023 the private key has to live on a physical hardware token or a cloud HSM, not just a .pfx file emailed to yourself. But in 2024 Microsoft changed how SmartScreen trust actually works: the expensive "EV" certificates stopped getting instant trust over the cheaper "OV" ones. Both now build reputation the same way, per file hash. That erased the entire reason EV certs cost more.
That same change is what opened the door to Azure Trusted Signing (recently renamed Artifact Signing) — Microsoft's own $9.99/month cloud-signing service, no hardware token required, aimed at individual developers specifically because EV's old advantage stopped mattering. Cheaper, and first-party. That's the one I went with.
Night one: setting up the account
Setting up the Azure account that would hold the certificate hit problems almost immediately, and none of them were about the signing service itself:
- A verification email that never arrived, three times, with "all mail" and spam both checked. It turned out Microsoft Account services were genuinely having an outage that day — not anything on my end.
- A locked "Mr." last name field. Somewhere in Microsoft's system, my account had my last name recorded as "Mr." instead of my actual name. There was no visible way to fix it — the obvious edit-name page had blank, disabled fields that wouldn't accept input. I found three different "edit your name" surfaces in Microsoft's own account tools, and none of them worked.
- Repeated card declines trying to add a payment method, bad enough that it looked like Microsoft's fraud system had started auto-rejecting anything after too many failed attempts in a row.
None of this was Azure's fault specifically — it was the generic Microsoft account layer underneath Azure, broken in ways no amount of retrying fixed.
The DUNS number trap
Once the account existed, actually requesting a certificate hit a second, completely different wall: the identity-verification form Azure showed was for Organization validation, which needs a DUNS number — a business-registration identifier, free but up to 30 business days to get, or $229 to rush to five. Not something I wanted to deal with for a hobby-turned-business signing certificate.
The actual fix had nothing to do with the form on screen. Which kind of identity validation you get is decided by which billing account you're using — set back at sign-up, invisible and uneditable afterward. I ended up creating a second, separate Microsoft billing account from scratch specifically so it would be Individual-type rather than Organization-type. Only then did an "Individuals" option even show up as a choice.
Identity verification
Individual verification goes through Microsoft Entra Verified ID — a digital "ID card" issued to the Microsoft Authenticator app on my phone, via a real identity-verification vendor (AU10TIX, in this case): scan your driver's license, take a selfie, done. That part, once I found the right place to start it (a "Don't have a Verified ID?" link buried under a QR code), actually went smoothly and only had to happen once.
The Azure-side request that reads that credential glitched once with a generic "something went wrong" error and a dead, already-used retry link — but it turned out to have actually succeeded a few minutes later anyway. Status flipped to "Completed" on its own.
Wiring it into the automated build
With identity validation done, the rest was ordinary cloud-infrastructure setup: a certificate profile, an app registration that trusts GitHub's own sign-in system directly (so no secret, password-like key has to live in GitHub at all), a narrow permission grant, and six configuration values dropped into GitHub's secret storage. Mechanical, once the identity piece was actually resolved.
Night two: getting the automated build to run
This is the part that reads as funny in hindsight and was not funny at 2 a.m.: getting the automated build-and-sign process to run, on the PC that does these builds, took four separate "it's missing one more thing" cycles, each needing its own investigation.
- Azure's command-line tool wasn't installed on the PC at all. Installed it — straightforward.
- The modern PowerShell the signing tool needs wasn't installed either. Installed it — except it installed only for my own Windows login, invisible to the separate background service account that actually runs these builds. Reinstalled properly, machine-wide.
- Still didn't work after reinstalling "correctly." Turns out Windows services cache their understanding of available programs at boot time. Restarting the one service wasn't enough — the whole PC had to reboot before it would notice the newly-installed program existed.
- One more missing piece surfaced after that: the signing tool needed the full .NET developer toolkit, not just the slimmer "run already-built programs" version that happened to already be there — and it hit the exact same wrong-account problem as step 2, needing the exact same reboot to fix.
Four rounds of install the missing thing, nothing changes, it's scoped to the wrong account, reinstall correctly, reboot, check again — and on the fifth actual attempt, it worked. All eight plugins, signed correctly, with Microsoft's own trust chain attached, automatically, from a single command.
What's true now
Every plugin gets built, tested, and signed in one step. The signed files land in one folder automatically, every time the process runs. The one-time setup — the account, the identity check, the certificate — is done for good; everything from here forward is just re-running the same automated step.
Gyrodrive's Windows build is signed start to finish because of this process — no unsigned-DLL warnings, nothing to remember to do by hand.
See Gyrodrive →