Hello,
I have a problem with signing USB-drivers.
We used this USB-drivers for years, but now we want to remove this nasty messages “this driver did not pass the windows logo…”.
And of course, in future we want to use this driver under Windows 7.
We bought this certificate:
“Verisign Class 3 Code Signing 2009-2 CA”
I implemented the signing of the driver files in this way:
pvk2pfx -pvk “myprivatekey.pvk” -spc “mycredentials.spc” -pi MyPwd -po MyPwd -f -pfx “Cert.pfx”
signtool.exe sign /f “Cert.pfx” /ac “MSCV-VSClass3.cer” /n “MyName” /p MyPwd /d MyName /sha1 D8F79FF13D920E2F88144F7BF3914D321594E962 “MyDriver.sys”
Inf2Cat.exe /driver:MyDriver /os:2000,XP_X86,Server2003_X86,Vista_X86
signtool.exe sign /f “Cert.pfx” /ac “MSCV-VSClass3.cer” /n “MyName” /p MyPwd /d MyName /sha1 D8F79FF13D920E2F88144F7BF3914D321594E962 “MyDriver.cat”
signtool.exe verify /v /kp “%MyDriver.cat” “MyDriver.sys”
I get this results:
Cross Certificate Chain:
Issued to: Microsoft Code Verification Root
Issued by: Microsoft Code Verification Root
Expires: Sat Nov 01 15:54:03 2025
SHA1 hash: 8FBE4D070EF8AB1BCCAF2A9D5CCAE7282A2C66B3
Issued to: Class 3 Public Primary Certification Authority
Issued by: Microsoft Code Verification Root
Expires: Mon May 23 19:11:29 2016
SHA1 hash: 58455389CF1D0CD6A08E3CE216F65ADFF7A86408
Issued to: VeriSign Class 3 Code Signing 2009-2 CA
Issued by: Class 3 Public Primary Certification Authority
Expires: Tue May 21 01:59:59 2019
SHA1 hash: 12D4872BC3EF019E7E0B6F132480AE29DB5B1CA3
Issued to: MyName
Issued by: VeriSign Class 3 Code Signing 2009-2 CA
Expires: Mon Jun 17 01:59:59 2013
SHA1 hash: D8F79FF13D920E2F88144F7BF3914D321594E962
Successfully verified: MyDriver.sys
Number of files successfully Verified: 2
Number of warnings: 0
Number of errors: 0
If I click on MyDriver.cat it says, that the signing is valid.
If I right click on MyDriver.sys and properties it says, that the signing is valid too.
But when I install the driver I still get this nasty “this driver did not pass the windows logotest” message
and device manager states “not signed”!!!
Can anybody give any tips what is wrong (with me)?
many thanks in advance!
(sorry for my bad english)