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

keytool cannot take additional classpath as parameter

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 1.4.0, 1.4.1
    • security-libs
    • beta
    • generic, x86
    • generic, linux



      Name: gm110360 Date: 08/14/2003


      FULL PRODUCT VERSION :
      java version "1.4.1_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
      Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

      FULL OPERATING SYSTEM VERSION : SuSE 8.1

      A DESCRIPTION OF THE PROBLEM :
      There is no commandline option for keytool allowing you to
      specify an additional classpath to search for providers.
      This limits the usefullness of the -provider option
      greatly.
      Now you need to put your provider in the ext directory to
      be able to use it with keytool.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.keytool -genkey <whatever> -provider <some provider not
      in ext and not JCE for example
      org.bouncycastle.jce.provider.BouncyCastleProvider>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expected: Use the provider specified, if I could somehow
      provide a classpath to it.
      Actual:keytool error:
      java.lang.ClassNotFoundException:
      org.bouncycastle.jce.provider.BouncyCastleProvider

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      keytool error: java.lang.ClassNotFoundException:
      org.bouncycastle.jce.provider.BouncyCastleProvider

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      No workaround, you need to put the .jar in ext.
      (Incident Review ID: 179154)
      ======================================================================

            xuelei Xuelei Fan
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: