Failed to create timestamp: Connection reset

I get the following error when compiling my adobe air app:

 [java] Could not generate timestamp: Connection reset

      

This application was compiled a few days before. I am not aware of any configuration changes on the computer.

+3


source to share


4 answers


I added the following arguments to the build.xml file and the error went away:

  <arg value="-tsa" />
  <arg value="http://sha256timestamp.ws.symantec.com/sha256/timestamp" />

      



My guess is that symantec has moved the timestamp service used by air.

[EDIT] We are building from the command line with ant; ant uses a file named build.xml. If you are using the adt command from the command line or from a .bat script you would append -tsa http://sha256timestamp.ws.symantec.com/sha256/timestamp

to the existing command.

+5


source


I faced the same problem when trying to sign an application with multiple certificates while renewing the certificate.

Based on Michael Potter's answer, if you are trying to use ADT to re-sign a certificate, you can use the following command:



adt -migrate -tsa "http://sha256timestamp.ws.symantec.com/sha256/timestamp" -storetype pkcs12 -keystore old_cert.p12 myAppIn.air myAppOut.air

      

  • old_cert.p12 is the path to the certificate you want to add (this will be the old certificate that has expired).
  • MyAppIn.air - an application signed with a new certificate
  • MyAppOut.air - the new file that will be created when this process is complete
+2


source


Prior to that, say 6 months, a similar problem was happening: "Handshake error"

This was due to the use of Java 1.6. Now I did the same thing, just a different timestamp url:

<arg value="-tsa http://timestamp.digicert.com" />

      

+1


source


To fix my build.xml I added:

<arg line="-tsa http://sha256timestamp.ws.symantec.com/sha256/timestamp"/>

      

+1


source







All Articles