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

keytool should be able to import private keys

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Won't Fix
    • None
    • None
    • security-libs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: