Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8191865 keytool -help does not list all options
  3. JDK-8191962

Missing option in keytool.html documentation

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 12
    • 11
    • docs
    • None
    • generic
    • generic

       The doc page located here:https://docs.oracle.com/javase/9/tools/keytool.htm#JSWOR-GUID-5990A2E4-78E3-47B7-AE75-6D1826259549
      is incomplete with below options

      1) -certreq
      -dname <name> distinguished name
      -addprovider <name> add security provider by name (e.g. SunPKCS11)
      -providerpath <list> provider classpath
      2) -changealias
      -addprovider <name> add security provider by name (e.g. SunPKCS11)
      -providerpath <list> provider classpath
      3) -delete
      -addprovider <name> add security provider by name (e.g. SunPKCS11)
      -providerpath <list> provider classpath
      4) -providerpath <list> provider classpath
      -addprovider <name> add security provider by name (e.g. SunPKCS11)
      -providerpath <list> provider classpath
      5) -genkeypair
      -destalias <destalias> destination alias
      -providername <providername> provider name
      -providerpath <pathlist> provider classpath
      6) -genseckey
      -providername <providername> provider name
      -providerpath <pathlist> provider classpath
      7) -gencert
      -providerpath <pathlist> provider classpath
      8) -importcert
      -providerpath <pathlist> provider classpath
      9) -importkeystore
      -providerpath <pathlist> provider classpath
      10) -keypasswd
      -providerpath <pathlist> provider classpath
      11) -list
      -providerpath <pathlist> provider classpath
      12) -printcertreq
      -v verbose output
      13) -storepasswd
      -providerpath <pathlist> provider classpath
      14) No documentation for -conf <url> option

      Most of the cases are applicable for jarsigner as well.

            schetan Shilpa Chetan
            fmatte Fairoz Matte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: