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

keytool should support -storepasswd for pkcs12 keystores

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • security-libs
    • None

        keytool -storepasswd can change storepass of a keystore. Since a pkcs12 keystore should always have the same storepass and keypass, the -storepasswd command should change both at the same time. Currently, this command is a no-op because -new is always ignored.

        Workaround: use -importkeystore with the same new -deststorepass and -destkeypass.

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

                Created:
                Updated:
                Resolved: