electron-wix-msi icon indicating copy to clipboard operation
electron-wix-msi copied to clipboard

signWithParams Throws 'No certificates were found that met all the given criteria'

Open dapperdandev opened this issue 6 years ago • 4 comments

Summary signWithParams isn't working as expected. Running signtool directly from the command line works fine, i.e.., signtool.exe sign /s MY /n Publisher /fd sha256 /u "Code Signing" /tr http://tsa.starfieldtech.com .\setup.msi works

Repro Steps

  • Make sure the certificate exists
  • Add signWithParams property to config
...
signWithParams: '/s MY /n Publisher /fd sha256 /u "Code Signing" /tr http://tsa.starfieldtech.com',
...

dapperdandev avatar Apr 08 '19 18:04 dapperdandev

@dapperdandev did you find a solution?

savely-krasovsky avatar Dec 27 '23 13:12 savely-krasovsky

@L11R Nope. Just ended up dropping the signtool.exe binary into a vendor folder and running via child_process.exec. This was a while ago though and there are probably better workarounds.

dapperdandev avatar Dec 30 '23 20:12 dapperdandev