Can't sign app: The specified timestamp server either could not be reached or returned an invalid response.
See original GitHub issue- Version: 1.8.4
- Target: Windows 8
Hi I’m using electron-builder to make a .exe and it fails at signing “Zipier Desktop.exe”.
The command its using to sign is:
C:\Users\Mike\AppData\Local\electron-builder\cache\winCodeSign\winCodeSign-2.0.0\windows-10\x64\signtool.exe sign /tr http://timestamp.verisign.com/scripts/timstamp.dll /f build/codesign.pfx /fd sha256 /td sha256 /d Zipier Desktop /du https://github.com/Mike-Wood/zipier-desktop-release-server#readme /as C:\mike\mike_storage\desktop\dist\win-ia32-unpacked\Zipier Desktop.exe
I have a feeling its because it has a space in the name “Zipier Desktop.exe”, it could also be that my certificate does’t have a password but it was working earlier today so I don’t think that would be the reason. I’ve tried using the default rfc3161TimeStampServer but it doesn’t work either. I also tried running the command on its own and got the same error:
SignTool Error: The specified timestamp server either could not be reached or
returned an invalid response.
The full error is:
Error: Exit code: 1. Command failed: C:\Users\Mike\AppData\Local\electron-builder\cache\winCodeSign\winCodeSign-2.0.0\windows-10\x64\signtool.exe sign /tr http://timestamp.verisign.com/scripts/timstamp.dll /f build/codesign.pfx /fd sha256 /td sha256 /d Zipier Desktop /du https://github.com/Mike-Wood/zipier-desktop-release-server#readme /as C:\mike\mike_storage\desktop\dist\win-ia32-unpacked\Zipier Desktop.exe
SignTool Error: The specified timestamp server either could not be reached or
returned an invalid response.
SignTool Error: An error occurred while attempting to sign: C:\mike\mike_storage\desktop\dist\win-ia32-unpacked\Zipier Desktop.exe
Done Adding Additional Store
Number of errors: 1
SignTool Error: The specified timestamp server either could not be reached or
returned an invalid response.
SignTool Error: An error occurred while attempting to sign: C:\mike\mike_storage\desktop\dist\win-ia32-unpacked\Zipier Desktop.exe
Any help would be appreciated. Thanks 😃
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:13 (3 by maintainers)
Top Results From Across the Web
The specified timestamp server either could not be ... - Entrust
The specified timestamp server either could not be reached or returned an invalid response. Enable high assurance identities that empower citizens. Issue safe, ......
Read more >http-timestamp-verisign-com-scripts-timstamp-dll-not-available
The specific error I get is: SignTool Error: The specified timestamp server either could not be reached or returned an invalid response.
Read more >ERROR: Using timestamp server with sha256 results in "The ...
SignTool Error"The specified timestamp server either could not be reached or returned an invalid response" "An error occured while attempting to sign…
Read more >SignTool error: The specified timestamp server could not be ...
I need to sign and timestamp some file and use Microsoft Visual Studio\common7\Tools\Bin\signtool.exe in order to do that.
Read more >SignTool error while trying to build our exe - Advanced Installer
Number of errors: 1 SignTool Error: The specified timestamp server either could not be reached or returned an invalid response.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I set
build.win.rfc3161TimeStampServer
inpackage.json
to a different server (http://sha256timestamp.ws.symantec.com/sha256/timestamp
) and it worked.I found the Symantec server in https://gist.github.com/Manouchehri/fd754e402d98430243455713efada710
The problem is that the default server is “timestamp.comodoca.com/rfc3161” and they say this on the page:
However electron-builder has much shorter delays. Even when it fails, it says it will retry in 2 seconds - delay needs to be changed to at least 15 seconds.