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

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

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: