Sign in Join
Wiki copytemporary

Code Signing for Windows: what changed

Revision 3 to 4. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1+[![Windows logo - 2012.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Windows_logo_-_2012.svg/50px-Windows_logo_-_2012.svg.png)](</File:Windows_logo_-_2012.svg>)
2+
3+This article applies to [Windows](</Category:Windows> "Category:Windows") only.
4+
5+See also: [[Multiplatform Programming Guide]]
6+
7+│ **English (en)** │
8+
9+
10+
111## Description of the problem
212
313**Question:**
414
5-I notice Windows 10 gives me a warning that the publisher is unknown after unzipping and attempting to run an executable.
15+I notice Windows 10 gives me a warning that the publisher is unknown after unzipping and attempting to run an executable.
616
7-Has anyone ever "registered" and if so what authority did they register with, what was the experience like (slow/fast), cost etc?
17+Has anyone ever "registered" and if so what authority did they register with, what was the experience like (slow/fast), cost etc?
818
9-**Answer** from forum member Dmitry "skalogryz" Boyarintsev:
19+**Answer** from forum member Dmitry "skalogryz" Boyarintsev:
1020
11-In order to have the application launch without any "questions", you'll need to purchase an EV certificate. It costs up to \$US 500 (prices vary, but I doubt you can find anything below \$US 250). The approval might take about a week, since they will do the verification of your actual existence (the existence of your company). If they are prompt enough they might get you verified in a matter of a day or two. For me it took about three weeks.
21+In order to have the application launch without any "questions", you'll need to purchase an EV certificate. It costs up to $US 500 (prices vary, but I doubt you can find anything below $US 250). The approval might take about a week, since they will do the verification of your actual existence (the existence of your company). If they are prompt enough they might get you verified in a matter of a day or two. For me it took about three weeks.
1222
13-Note that EV certificates are usually "hardware" generated. Meaning you'll have some sort of hardware device in order to sign an executable. The hardware device also needs to be mailed to you... which adds the time to the point when you can finally sign an executable.
23+Note that EV certificates are usually "hardware" generated. Meaning you'll have some sort of hardware device in order to sign an executable. The hardware device also needs to be mailed to you... which adds the time to the point when you can finally sign an executable.
1424
15-You can get a simple certificate, but it will still show "Running application by ... Name of your company". Simple certificates are cheaper, about \$100.
25+You can get a simple certificate, but it will still show "Running application by ... Name of your company". Simple certificates are cheaper, about $100.
1626
17-Keep in mind that certificates expire and must be renewed - usually for the same price, or a bit more expensive if you used some promo when buying the first certificate. The renewal process is as fast as simply paying for it, but if you miss the renewal date, you might have to pass the approval process again.
27+Keep in mind that certificates expire and must be renewed - usually for the same price, or a bit more expensive if you used some promo when buying the first certificate. The renewal process is as fast as simply paying for it, but if you miss the renewal date, you might have to pass the approval process again.
1828
19-You can't use your HTTPS web site certificate. Your HTTPS certificate was given for a domain name, not an executable. However, the same authority that issued your HTTPS certificate might also be providing code signing certificates (and you might be eligible for a discount of some sort).
29+You can't use your HTTPS web site certificate. Your HTTPS certificate was given for a domain name, not an executable. However, the same authority that issued your HTTPS certificate might also be providing code signing certificates (and you might be eligible for a discount of some sort).
2030
21-You also cannot use a developer certificate issued by Apple for [[Code Signing for macOS|code signing macOS applications]].
31+You also cannot use a developer certificate issued by Apple for [[Code Signing for macOS|code signing macOS applications]].
2232
2333## Examples of certificate companies
2434
25-- [SSL2BUY](https://www.ssl2buy.com/code-signing-certificate). "OV Code Signing Certificate". \$60 per year.
26-- [Comodo EV](https://comodosslstore.com/code-signing/comodo-ev-code-signing-certificate?gclid=CjwKCAjwndCKBhAkEiwAgSDKQfX5LQgnCeJ6VF95YAZ0FDIVSmosUBtDvhVyrqX5STHNvyJNk0JMuxoCEb8QAvD_BwE). \$US 399 per year for EV certificate, without a promotion.
27-- [Digicert](https://www.digicert.com/order/order-1.php). \$US 699 per year for EV certificate.
28-- [SignMyCode](https://signmycode.com/code-signing-certificates). "\$199.99 per year for EV Certificates and \$49.99 per year for standard code signing certificates.
29-- [KSoftware](https://www.ksoftware.net/code-signing-certificates/). "OV Code Signing Certificate". 80 Euros per year.
30-- [Certera](https://certera.com/code-signing) Authentic Code Signing Certificates starting at just \$199.99/year
31-- [CheapSSLWeb](https://cheapsslweb.com/code-signing) Just \$49.99/yr for OV Code Signing Certificate and just \$199.99/yr for an EV Code Signing Certificate.
35+ * [SSL2BUY](<https://www.ssl2buy.com/code-signing-certificate>). "OV Code Signing Certificate". $60 per year.
36+ * [Comodo EV](<https://comodosslstore.com/code-signing/comodo-ev-code-signing-certificate?gclid=CjwKCAjwndCKBhAkEiwAgSDKQfX5LQgnCeJ6VF95YAZ0FDIVSmosUBtDvhVyrqX5STHNvyJNk0JMuxoCEb8QAvD_BwE>). $US 399 per year for EV certificate, without a promotion.
37+ * [Digicert](<https://www.digicert.com/order/order-1.php>). $US 699 per year for EV certificate.
38+ * [KSoftware](<https://www.ksoftware.net/code-signing-certificates/>). "OV Code Signing Certificate". 80 Euros per year.
39+ * [Certera](<https://certera.com/code-signing>) Authentic Code Signing Certificates starting at just $199.99/year
40+ * [CheapSSLWeb](<https://cheapsslweb.com/code-signing>) Just $49.99/yr for OV Code Signing Certificate and just $199.99/yr for an EV Code Signing Certificate.
3241
3342## Signtool: code signing tool
3443
35-Signtool comes as a part of Windows 10 SDK. The binary is typically installed at:
36-
37-``` pascal
38-C:\Program Files (x86)\Windows Kits\10\bin__version__\x64
44+Signtool comes as a part of Windows 10 SDK. The binary is typically installed at:
3945```
40-
41-1\. Install (or generate the certificate) into Windows Certificate Center. EV certificates should also be installed, but signing them requires the hardware key to be present at the time of signing
46+C:\Program Files (x86)\Windows Kits\10\bin\__version__\x64
47+```
4248
43-2\. Very basic sign command line:
49+1\. Install (or generate the certificate) into Windows Certificate Center. EV certificates should also be installed, but signing them requires the hardware key to be present at the time of signing
4450
45-```text
51+2\. Very basic sign command line:
52+```
4653signtool sign project1.exe
4754```
4855
4956## See also
5057
51-- [[Code signing]]
58+ * [[Code signing]]
5259
5360## External links
5461
55-- [Microsoft: official documentation for signtool](https://docs.microsoft.com/en-us/windows/win32/seccrypto/signtool)
56-- [Microsoft: Windows 10 SDK download page](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/)
62+ * [Microsoft: official documentation for signtool](<https://docs.microsoft.com/en-us/windows/win32/seccrypto/signtool>)
63+ * [Microsoft: Windows 10 SDK download page](<https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/>)
5764
5865---
59-*From the Free Pascal wiki, page "Code Signing for Windows", as it stood on 2023-09-12 after a change by Jpmehta, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
66+*From the Free Pascal wiki, page "Code Signing for Windows", as the Internet Archive kept it on 2024-09-13, last changed on 2024-05-28. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history