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

keytool can only access keystores supported by -providerClass when it's specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Description

      When -providerClass is specified with keytool, it will only try to load keystores that's supported by this security provider. However, in keytool.html, we have --

        -providerClass <provider_class_name>
            Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file.

      which means the option is not only for storetype, but for all kinds of algorithms.

      This bug prevents generating/saving keypairs from a non-"java.security" provider into a JKS keystore. For example, the newly supported NSS EC.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              weijun Weijun Wang
              Reporter:
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: