Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

ADT error with comodo code signing certificate

Community Beginner ,
Oct 09, 2014 Oct 09, 2014

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

TOPICS
Performance issues
586
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Oct 09, 2014 Oct 09, 2014

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

Jonas

Translate
Community Beginner ,
Oct 09, 2014 Oct 09, 2014
LATEST

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

Jonas

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines