Skip to content

Commit d0c3272

Browse files
committed
fix: Signtool issue SignerSign() failed." (-2146869243/0x80096005)
1 parent 219ca40 commit d0c3272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build-Installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ function SignInstaller {
398398
FailBuild -Message "CERTIFICATE variable is empty, unable to sign installer"
399399
}
400400

401-
$SignParameters = @("sign", "/tr", 'http://timestamp.digicert.com', "/f", $CertificateFile)
401+
$SignParameters = @("sign", "/td", 'sha256', "/tr", 'http://timestamp.digicert.com', "/f", $CertificateFile)
402402
if ($env:CERTIFICATE_PASSWORD) {
403403
"CERTIFICATE_PASSWORD detected, using the password"
404404
$SignParameters += "/p"

0 commit comments

Comments
 (0)