Highlighted

ADT error with comodo code signing certificate

Community Beginner ,
Oct 09, 2014

Copy link to clipboard

Copied

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

Correct answer by Sonjamo | Community Beginner

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

Jonas

TOPICS
Performance issues

Views

421

Likes

Translate

Translate

Report

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

ADT error with comodo code signing certificate

Community Beginner ,
Oct 09, 2014

Copy link to clipboard

Copied

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

Correct answer by Sonjamo | Community Beginner

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

Jonas

TOPICS
Performance issues

Views

422

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 09, 2014 0
Community Beginner ,
Oct 09, 2014

Copy link to clipboard

Copied

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

Jonas

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 09, 2014 0