给文件添加数字签名
使用SignTool
官方文档:https://learn.microsoft.com/zh-cn/windows/win32/seccrypto/signtool?redirectedfrom=MSDN

签名盖时间戳服务器:http://timestamp.sectigo.com/
1.安装工具,进入64位程序根目录打开cmd
2.给程序签名
输入命令
signtool sign /f "证书路径" /p "证书密码" /fd SHA256 "exe文件路径"  
signtool sign /f E:\Desktop\test.pfx /p 123456 /fd SHA256 E:\Desktop\Tool.exe  
3.给已签名的盖时间戳
输入命令
signtool timestamp /t "上面的签名盖时间戳服务器地址" "exe文件路径"  
signtool timestamp /t http://timestamp.sectigo.com/ E:\Desktop\Tool.exe 
 
                     
                    
                 
                    
                 
                
            
         
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号