Before distributing your driver, you can digitally sign and/or certify it, either by submitting it to the Microsoft Windows Logo Program, for certification and signature, or by having the driver Authenticode signed.
Some Windows operating systems, such as Windows XP and below, do not require installed drivers to be digitally signed or certified. There are, however, advantages to getting your driver digitally signed or fully certified, including the following:
64-bit versions of Windows Vista and higher require Kernel-Mode Code Signing (KMCS) of software that loads in kernel mode. This has the following implications for WinDriver-based drivers:
![]() | |
| During driver development, you can configure Windows to temporarily allow the installation of unsigned drivers. |
For more information about digital driver signing and certification, see:
The Microsoft Authenticode mechanism verifies the authenticity of driver's
provider. It allows driver developers to include information about themselves
and their code with their programs through the use of digital signatures, and
informs users of the driver that the driver's publisher is participating in an
infrastructure of trusted entities.
The Authenticode signature does not, however, guarantee the code's safety or
functionality.
The WinDriver\redist\ windrvr6.sys driver has an Authenticode digital signature.
Microsoft's Windows Logo Program–http://www.microsoft.com/whdc/winlogo/default.mspx–lays out procedures for submitting hardware and software modules, including drivers, for Microsoft quality assurance tests. Passing the tests qualifies the hardware/software for Microsoft certification, which verifies both the driver provider's authenticity and the driver's safety and functionality.
Device drivers should be submitted for certification together with the hardware that they drive. The driver and hardware are submitted to Microsoft's Windows Hardware Quality Labs (WHQL) testing in order to receive digital signature and certification. This procedure verifies both the driver's provider and its behavior.
For detailed information regarding the WHQL certification process, refer to the
following Microsoft web pages:
![]() | |
| Note: Some of the links require Windows Internet Explorer. |
As indicated above [12.3.1.1], The WinDriver\redist\ windrvr6.sys driver has an Authenticode signature. Since WinDriver's kernel module (windrvr6.sys) is a generic driver, which can be used as a driver for different types of hardware devices, it cannot be submitted as a stand-alone driver for WHQL certification. However, once you have used WinDriver to develop a Windows 7 / Vista / Server 2008 / Server 2003 / XP / 2000 driver for your selected hardware, you can submit both the hardware and driver for Microsoft WHQL certification, as explained below.
The driver certification and signature procedures–either via Authenticode
or WHQL–require the creation of a catalog file for the driver. This file
is a sort of hash, which describes other files. The signed
windrvr6.sys driver is provided with a
matching catalog file – WinDriver\redist\
wd1011.cat. This file is assigned to
the CatalogFile entry in the
windrvr6.inf file (provided as well in the
redist\ directory). This entry is used to inform Windows of the driver's
signature and the relevant catalog file during the driver's installation.
When the name, contents, or even the date of the files described in a driver's catalog file is modified, the catalog file, and consequently the driver signature associated with it, become invalid. Therefore, if you select to rename the windrvr6.sys driver [12.2] and/or the related windrvr6.inf file, the wd1011.cat catalog file and the related driver signature will become invalid.
In addition, when using WinDriver to develop a driver for your Plug-and-Play device, you normally also create a device-specific INF file that registers your device to work with the windrvr6.sys driver module (or a renamed version of this driver). Since this INF file is created at your site, for your specific hardware, it is not referenced from the wd1011.cat catalog file and cannot be signed by Jungo apriori.
When renaming windrvr6.sys and/or creating a device-specific INF file for your device, you have two alternative options regarding your driver's digital signing:
Submit your driver for WHQL certification or have it Authenticode
signed.
Note that while renaming WinDriver\redist\
windrvr6.sys nullifies the driver's
digital signature, the driver is still WHQL-compliant and can therefore be
submitted for WHQL testing.
To digitally sign/certify your driver, follow these steps:
CatalogFile entry in your driver's INF file(s). (You can
either change the CatalogFile entry in the
windrvr6.inf file to refer to your new
catalog file, and add a similar entry in your device-specific INF file;
or incorporate both windrvr6.inf and
your device INF file into a single INF file that contains such a
CatalogFile entry).
Submit your driver for WHQL certification or for an Authenticode signature.
Note that many WinDriver customers have already successfully digitally signed and certified their WinDriver-based drivers.
As indicated in the WHQL documentation, before submitting the driver for testing you need to download Microsoft's Driver Test Manager (DTM) (http://www.microsoft.com/whdc/DevTools/WDK/DTM.mspx) and run the relevant tests for your hardware/software. After you have verified that you can successfully pass the DTM tests, create the required logs package and proceed according to Microsoft's documentation.
When running the DTM tests, note the following:
/PAE switch is added to the boot flags in the
PC's boot.ini file.