unable to sign xp driver with "official certificate"
Posted: 03-01-2007, 08:44 PM
I am developing a Windows XP USB driver. I have followed the example i
the WinDDK 6000 “selfsign_example.cmd”. Using a test certificate, m
driver was signed without a problem (as viewed in DeviceManager). Nex
I purchased a Verisign Class 3 Code Signing certificate. Th
selfsign_example.cmd script executes properly, signs the driver an
catalog file with an authentic certificate and installs th
certificate. I can individually verify both the driver and catalo
file, which are signed and chained to the certificate as expected. M
driver executes without a problem after installation. However when
view the driver via DeviceManager, it shows as unsigned.
In setupapi.log, all goes well until the final few lines during m
driver's installation:
@ 16:31:43.080 #V155 Executing default installer.
@ 16:31:43.112 #T200 Install Device: Begin.
@ 16:31:43.128 #V124 Doing copy-only install o
"USB\VID_0A28&PID_0001\5&B791E26&0&2".
@ 16:31:43.159 #V005 Opened the PNF file of "c:\windows\inf\oem4.inf
(Language = 0409).
@ 16:31:43.175 #V011 Installing section [XylocUSB.INSTALL.NT] fro
"c:\windows\inf\oem4.inf".
@ 16:31:43.191 #T203 Install Device: Queuing files from INF(s).
@ 16:31:43.207 #V005 Opened the PNF file o
"C:\WINDOWS\INF\drvindex.inf" (Language = 0409).
@ 16:31:43.239 #V094 Queued copy from section [XylocUSB.CopyFiles] i
"c:\windows\inf\oem4.inf": "XylocUSB.sys" to "XylocUSB.sys" with flag
0x00000024, target directory is "C:\WINDOWS\system32\drivers".
@ 16:31:43.255 #V095 Source in section [sourcedisksfiles] i
"c:\windows\inf\oem4.inf"; Media=1 Description="XylocUSB Installatio
Diskette" Tag="" Path="".
@ 16:31:43.287 #T204 Install Device: Queuing coinstaller files fro
INF(s).
@ 16:31:43.318 #V005 Opened the PNF file of "c:\windows\inf\oem4.inf
(Language = 0409).
#-046 Processing Coinstaller registration sectio
[XylocUSB.INSTALL.NT.CoInstallers].
@ 16:31:43.382 #V056 Coinstallers registered.
@ 16:31:43.398 #V011 Installing sectio
[XylocUSB.INSTALL.NT.Interfaces] from "c:\windows\inf\oem4.inf".
@ 16:31:43.414 #V054 Interfaces installed.
@ 16:31:43.446 #V121 Device install o
"USB\VID_0A28&PID_0001\5&B791E26&0&2" finished successfully.
@ 16:31:43.462 #T201 Install Device: End.
@ 16:31:43.493 #V156 Completed default installer.
@ 16:31:43.509 #T185 Pruning Files: Verifying catalogs/INFs.
@ 16:31:43.541 #I180 Verifying file "c:\windows\inf\oem4.inf" (ke
"xylocusb.inf") against catalog "oem4.CAT" failed. Error 1168: Elemen
not found.
@ 16:31:43.557 #I180 Verifying file "c:\windows\inf\oem4.inf" (ke
"xylocusb.inf") against catalog "oem4.CAT" failed. Error 1168: Elemen
not found.
@ 16:31:43.589 #T186 Pruning Files: Verifying catalogs/INFs completed.
@ 16:31:43.621 #I180 Verifying fil
"C:\WINDOWS\system32\DRIVERS\XylocUSB.sys" (key "XylocUSB.sys") agains
catalo
"C:\WINDOWS\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\xylocusb.cat
failed. Error 0x800b0110: The certificate is not valid for the requeste
usage.
@ 16:31:43.668 #V330 Verifying fil
"C:\WINDOWS\system32\DRIVERS\XylocUSB.sys" (key "XylocUSB.sys") a
self-signed failed. Error 0x800b0110: The certificate is not valid fo
the requested usage.
Might anyone shed some light on my error and advise me as to correctiv
actions?
Thank
--
dmurphe
-----------------------------------------------------------------------
dmurphey's Profile: http://forums.techarena.in/member.php?userid=2273
View this thread: http://forums.techarena.in/showthread.php?t=69566
http://forums.techarena.i




Threaded Mode
