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

keytool failed to list PKCS#12 KeyStore file.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.0
    • security-libs

      When you are trying to list a PKCS#12 file format keystore, IOException throwed.

      Here is the syntax:

      ./keytool -list -keystore /net/sarcasm/home/dgu/thawte.p12 -storetype pkcs12
      keytool error: java.io.IOException: DerValue.getOctetString, not an Octet String: 36

      I am using KeyStore.load in our new Java Plugin Merlin 1.4, it gave the same exception as above.

      This error is only happened recently, in B72 build. It works fine in B65 build.

      I am test it on Sun Solaris platform.

      Dennis Gu

            smalkanisunw Seema Malkani (Inactive)
            dgu Dennis Gu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: