Timestamping from FinalBuilder fails almost every time since a few days

Hi, I’ve been using this sample from this blog post for years now without problems.
But for a few days now, I (almost) always get an error when timestamping files:

SignTool Error: An error occurred while attempting to timestamp: XXXXXXXX
SignTool Error: An unexpected internal error has occurred.
Error information: “SignerTimeStamp() failed.” (-2147012889/0x80072ee7)

I’m still using the same version of SignTool.exe, with the same certificate that I’ve been using for years.
I suspect that values set in the SHA1TimeStampServers and SHA2TimeStampServers are not working or reliable anymore. Could that be the source of this problem ? If so, what would be the recommended up-to-date timestamp servers to use for both of those variables ?

Thanks.

I suspect the issue is the sha1 time stamp servers have all been turned off, since SHA1 is no longer accepted, and I believe the root certificates have all expired.

So the answer is to turn off the SHA1 signing and only do SHA256

This is the list of timestamp servers we are currently using

http://timestamp.digicert.com
http://timestamp.comodoca.com/authenticode
http://tsa.starfieldtech.com/
http://www.trustcenter.de/codesigning/timestamp