Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.8 KiB

  1. File : how2sign.txt
  2. History: Daniel Sie, 3-Jan-2001
  3. Here is a brief description about how to sign capicom.dll,
  4. 1. Check out %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\presign\i386\capicom.dll, and replace with
  5. the FREE build version from VBL release \binaries.x86fre\presign directory.
  6. 2. Check out %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\i386\capicom.pdb, and replace with
  7. the FREE build version from VBL release \binaries.x86fre\symbols\presign\dll directory.
  8. 3. Use a virus checking tool to run on dlls and symbol files (I use Cheyenne Innoculan), see http://prslab.
  9. 4. Test signing capicom.dll as follows:
  10. - copy %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\presign\i386\capicom.dll to a local directory of your choice
  11. - copy all the files from "\\prslab\tools\IE4Tools" to the above same local directory (xcopy \\prslab\tools\IE4Tools\* /s)
  12. - follow the instruction in ReadMe.txt you just copied to test sign capicom.dll
  13. - make sure signing test succeeded
  14. 5. Create a signing request at http://prslab/codesign/tool.htm. You need two co-signers to sign up the request.
  15. It seems prs web auto email doesn't work sometimes so you should consider sending an email including the request # by
  16. yourself to notify the co-signers.
  17. 6. Wait for an email from prslab about signing. Again you should consider to check the request web site once a day because
  18. prslab auto email doesn't work well.
  19. 7. Once the signing is done, do the following:
  20. - check out %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\i386\capicom.dll
  21. - go to http://prslab/codesign/tool.htm to download the signed capicom.dll
  22. - replace the checked out version with the signed copy
  23. - run chktrust.exe to make sure it is properly signed and trusted
  24. 8. From %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\i386, do the following to check for matching symbols,
  25. - symchk .\capicom /s .
  26. - ntsd regsvr32 .\capicom.dll
  27. - sxeld (in ntsd)
  28. - g (repeat in ntsd until you see capicom.dll is loaded from the current directory)
  29. - x capicom!* (to see if you can load symbols)
  30. 9. sd submit
  31. should have the following 3 files,
  32. - %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\presign\i386\capicom.dll
  33. - %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\i386\capicom.dll
  34. - %_NTBINDIR%\ds\security\cryptoapi\pki\activex\release\capicom\i386\capicom.pdb
  35. 10. Currently we don't ship the CAB file, however, ff a CAB file is required for distribution, you can follow something similar to this
  36. process to sign the cab file. You can use MAKECAB.CMD from %_NTBINDIR%\ds\security\cryptoapi\pki\activex\capicom\release
  37. directory to create the cab file.