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

keytool should be able to import private keys

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      Description

      A user might create a private key using another tool and want to use it in Java. Now one has to use openssl to create a pkcs12 file. See https://stackoverflow.com/questions/906402/how-to-import-an-existing-x509-certificate-and-private-key-in-java-keystore-to-u. It will be nice if keytool can directly import a private key (along with its cert) into a keystore.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              weijun Weijun Wang
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: