Forum Stats

  • 3,814,696 Users
  • 2,258,899 Discussions
  • 7,892,808 Comments

Discussions

Signing jar-files

843811
843811 Member Posts: 49,851
Hi

I've been trying to sign a jar-file with a certificate that I have created using openssl (I can not use keytool to generate private keys due to the pki infrastructure at my site).

I have tried to use pkcs12 files with the option -storetype pkcs12 with jarsigner but I get the exception:

jarsigner error: java.lang.RuntimeException: keystore load: DerInputStream.getLength(): lengthTag=109, too big.

I would appreciate if anyone could help me on this.

Cheers, Magnus

Comments

  • 843811
    843811 Member Posts: 49,851
    a couple of links that may brighten your day...

    http://www.google.com/search?q=cache:pbeUDW0z3LA:java.sun.com/j2se/1.4/relnotes.html+DerInputStream.getLength():+%0AlengthTag%3D&hl=en

    http://mhonarc.esec.com.au/list-jce/msg00171.html
This discussion has been closed.