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

keytool should be able to import private keys

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: