您的位置: 首页 - signtool
  • 本站大部分内容从网上收集,收集目的仅供研究、学习。涉及版权或不希望收录您的文章请您及时与我联系。
  • 本站IM群,请自行选择。请各位朋友按照自己喜好加入。加入群后请及时发言,防止被清理。谢谢您的合作!!!
  • QQ群:Y①WEB开发(ASP.NET)号码:7351660 QQ群:Y②WEB开发(ASP+.NET)号码:11864905
  • QQ群:Y③WEB开发(DIV+CSS)号码:16610506 QQ群:Y④WEB开发(JS+AJAX)号码:16143998
  • QQ群:Y⑤WEB开发(新手)号码:12777715 MSN群:yaosansi[at]126.com

使用signtool与Verisign SPC和PVK在命令行下对EXE等文件进行数字签名

分类: SoftWare 发布: yaosansi 浏览: 日期: 2010年7月6日

原文:http://www.yaosansi.com/post/1453.html

How to sign EXE using signtool with Verisign SPC and PVK on the command line?

run "signtool signwizard" to start the signing wizard.
1. File Selection: Choose the EXE you wish to sign (ie, yaosansi.com.exe)
2. Signing Options: Choose "Custom"
3. Signature Certificate: Click "Select from File" and choose "mycredentials.spc"
4. Private Key: Select "Private key file on disk" and choose "myprivatekey.pvk"
    - Leave CSP at "Microsoft Strong Cryptographic Provider"
    - Leave Provider Type at "RSA FULL"
5. Private Key Password: Enter "xxxxxxxxxx"
6. Hash Algorithm: Leave it at 'sha1'
7. Additional Certificates:
    - Leave it at "All certificates in the certification path, including the root"
    - Leave it at "No additional certificates"
8. Data Description: Enter the following:
    - Description:yaosansi.com
    - Web Location: http://www.yaosansi.com
9. Digital Signature Wizard:
    - Enable "Add a timestamp to the data"
    - Timestamp service URL: http://timestamp.verisign.com/scripts/timstamp.dll
    - 这里还有两个免费的时间戳服务器
             a.http://timestamp.wosign.com/timestamp
             b.http://timestamp.comodoca.com/authenticode
        * Note: This enables the signature to work forever; not sure
                        what this means but the Verisign guy was pretty excited about it
10. Review and click OK
11. Enter private key password: Enter "xxxxxxxxxxx"
12. Done!

 

相关文章:
白话数字签名(番外篇)——签名EXE文件(上)
白话数字签名(番外篇)——签名EXE文件(下)
签名工具 (SignTool.exe)

分页:[«]1[»]

Powered By Z-Blog 1.8 Walle Build 100427

UNISON UPDATE Copyright 2005-2010 yaosansi'site All Rights Reserved.
感谢系统大玩家为本站提供FTP空间
辽ICP备05021434号