Skip to main content
Participant
October 9, 2014
Answered

ADT error with comodo code signing certificate

  • October 9, 2014
  • 1 reply
  • 620 views

Hello,

I'm trying to sign an AIR app with a Comodo code signing cert.

- SHA-256 with RSA Encryption

- Java 1.8 (same problem with 1.6)

- AIR 15 (same problem with older versions)

My command :

java -jar -Xmx1024m /data/sdk/AIRSDK_Compiler15/lib/adt.jar  -sign -storetype pkcs12 -storepass ******* -keystore cert/air-distrib.p12 bin-release/TestCert.airi bin-release/TestCert.air

I get the following error :

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

    at java.util.Arrays.copyOf(Arrays.java:3181)

    at java.util.ArrayList.grow(ArrayList.java:261)

    at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)

    at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)

    at java.util.ArrayList.add(ArrayList.java:458)

    at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2026)

    at java.security.KeyStore.load(KeyStore.java:1433)

    at com.adobe.ucf.UCF.processSigningOptions(UCF.java:313)

    at com.adobe.ucf.UCF.parseSigningOptions(UCF.java:298)

    at com.adobe.air.ADT.parseSign(ADT.java:1589)

    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:598)

    at com.adobe.air.ADT.run(ADT.java:435)

    at com.adobe.air.ADT.main(ADT.java:485)

When i increase java memory at 8go, java uses 6go and don't stop... (nothing after 20 minutes...)

Any idea ?

ADT or cert problem ? Other ?

Thx.

Jonas

This topic has been closed for replies.
Correct answer Sonjamo

Yeah !
The certificate was generated in firefox...
Import it into IE and regenerate the certificate fixed the problem

Jonas

1 reply

SonjamoAuthorCorrect answer
Participant
October 9, 2014

Yeah !
The certificate was generated in firefox...
Import it into IE and regenerate the certificate fixed the problem

Jonas