Skip to main content
Participant
October 6, 2016
Question

Packaging error: Could not generate timestamp

  • October 6, 2016
  • 13 replies
  • 20152 views

I am getting an error while trying to build an AIR for desktop app. The build worked fine on Tuesday, but trying to build again on Wednesday without any project changes gives me the following error:

Packaging failed!

Packaging error:

Could not generate timestamp: Remote host closed connection during handshake

I have verified that the project certificate has not expired. I've tried this via both a wired and wifi connection to our office network, and then over a different network altogether to no avail. Is there an issue with the timestamp server?

This topic has been closed for replies.

13 replies

Known Participant
October 7, 2016

Okay guys I think I have found a solution to make it work in Flash Builder

After installing Java 1.8,

Go to "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)" (or your Flash Builder installation directory) and rename the folder "jre" to something else (like "_jre"),

Then go to your Java 1.8 installation directory (for me it's "C:\Program Files\Java\jdk1.8.0_101"),

And copy the "jre" folder from your Java 1.8 directory to your Flash Builder directory

it worked for me

Participant
October 7, 2016

Thanks. This works for me

Participating Frequently
October 7, 2016

Also installed Java 1.8 Update 101

And still cant build Native Installer for the application with Flash Builder 4.6. Win7 Pro 64

Everything worked yesterday but not today, tried from 2 different office locations and get the same issue:

"Error creating native installer file: could not generate timestamp: Remote host closed connection during handshake"

Help please, customers awaiting updates.

Pahup
Adobe Employee
Adobe Employee
October 7, 2016

Hi,

Thanks for reporting the issue.We investigated and found that timestamp.geotrust.com has recently disabled TLS 1.0 (see comments on http://downornotworking.com/timestamp.geotrust.com/), and hence please try upgrading to Java 1.8 on your machine where ADT (a component in AIR SDK which is based on Java) packaging takes place. Java 1.8 uses TLS 1.2 by default (JDK 8 will use TLS 1.2 as default (Java Platform Group, Product Management blog) ). ADT uses this domain for signing related workflows during packaging an app.

Let us know if you still see the issue.

Thanks

-Pahup

Adobe AIR

Known Participant
October 7, 2016

Hi,

I have installed Java 1.8

$ java -version

java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing)

but I still cant export my AIR application due to this timestamp issue...

Can we use another timestamp service and how ??

(PS: I'm using Flash Builder, not the adt command line)

Participant
October 7, 2016

That worked for us: build an unsigned AIRI and sign this afterwards with

adt.bat -sign -storetype YOUR_CERTIFICATE -tsa "http://sha256timestamp.ws.symantec.com/sha256/timestamp" "YOUR_PROJECT.airi" "YOUR_PROJECT.air"