Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

July 6, 2007

How to Digitally Sign your EXE, DLL, or CAB

To digitally sign any DLL, EXE, or CAB, you only need your digital certificate in a PFX file and SignTool.exe, which can be downloaded from here:

If you’re using Visual Studio 7 or 8, you probably already have signtool.exe in the "Common7″ subdirectory where Visual Studio is installed.

Here’s a .bat demonstrating how to authenticode sign a DLL (or EXE, or CAB):

set File=ChilkatFtp2.dll
set TimeURL=
REM : This should be a single line in your .bat file:
c:\"Program Files"\"Microsoft Visual Studio 8"\Common7\Tools\Bin\signtool sign /f c:\ck2000\thawte\chilkat.pfx
  /p myPassword /v /t %TimeURL% "%File%" 

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.