Windows code signing via Azure Trusted Signing ($9.99/month). Gives instant SmartScreen trust. CI step is already wired — just needs secrets.
Go to https://portal.azure.com
- Search "Trusted Signing" → Create
- Region: East US (endpoint will be
https://eus.codesigning.azure.net) - Pricing tier: Basic ($9.99/month)
- Note the account name you choose
- Inside the account → Certificate Profiles → New
- Profile type: Public Trust
- Name:
OCcode(or anything you like) - Note the profile name you choose
Run this in Azure CLI (or use Azure Cloud Shell in the portal):
az ad sp create-for-rbac \
--name "occode-github-signing" \
--role "Trusted Signing Certificate Profile Signer" \
--scopes /subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.CodeSigning/codeSigningAccounts/<ACCOUNT_NAME>Replace <SUBSCRIPTION_ID>, <RESOURCE_GROUP>, <ACCOUNT_NAME> with your values.
Output will look like:
{
"appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tenant": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Save these — you won't see the password again.
Go to: https://github.com/damoahdominic/occ/settings/secrets/actions
Add these 6 secrets:
| Secret name | Value |
|---|---|
AZURE_TENANT_ID |
tenant from Step 2 output |
AZURE_CLIENT_ID |
appId from Step 2 output |
AZURE_CLIENT_SECRET |
password from Step 2 output |
AZURE_SIGNING_ENDPOINT |
https://eus.codesigning.azure.net |
AZURE_SIGNING_ACCOUNT |
your account name from Step 1a |
AZURE_SIGNING_PROFILE |
your profile name from Step 1b |
Microsoft will email you to verify HITL, Inc:
- Company registration document (Companies House / certificate of incorporation)
- Takes 3–5 business days
You can complete Steps 1–3 now. Signing won't activate until verification passes.
Once verified, push any tag:
git tag v3.x.x && git push origin main --tagsThe Windows build will now sign both installers automatically. Unsigned builds continue to work unchanged if secrets are ever missing.
- The CI step skips silently if
AZURE_CLIENT_IDsecret is not set — nothing breaks - Both
system-setupanduser-setup.exefiles are signed - Timestamp server:
http://timestamp.acs.microsoft.com(Microsoft's own) - Cost: ~$10/month, no per-signature fees on Basic tier