Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4479826

Signing Jar File Exception with PKCS 12 keystores.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • beta2
    • generic, sparc
    • generic, solaris_8


      This was reported via a private email to charlie, jeff, gemma-all
      and me.

      Date: Fri, 13 Jul 2001 11:10:38 -0700 (PDT)
      From: Nathan Wang
      Subject: Merlin B71: Signing Jar File Exception

      I got the following exception when I am trying to sign a jar file using
      verisign pkcs12 key.

      jarsigner error: java.lang.RuntimeException: keystore load:
      DerValue.getOctetString, not an Octet String: 36

      The following are the command I used to sign the jar file, if I change the
      build number to b70, the program runs ok. If I use build number b71, I got
      the above exception. What has been changed since b71? Or could it be solaris
      sparcv9 change (just my guess.)?

      $> /re/promoted/jdk/1.4/beta_refresh/b71/binaries/solsparc/bin/java -cp \
      /re/promoted/jdk/1.4/beta_refresh/b71/binaries/solsparc/lib/tools.jar:../LIB/jce
      rt.jar:../LIB/jnet.jar:../LIB/jsse.jar sun.security.tools.JarSigner -provider com.sun.net.ssl.internal.ssl.Provider -keystore ../CERT/verisign_key.p12 -storetype pkcs12 -storepass password -signedjar jar/hellojaws_signed.jar jar/hellojaws.jar "Sun Microsystems, Inc.'s VeriSign, Inc. ID"

      Thanks.

      --Nathan

      bradford.wetmore@eng 2001-07-13

            smalkanisunw Seema Malkani (Inactive)
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: