• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 347
  • Last Modified:

Import a private key into a .jks

Can I import a private key (without the cretificate, just the key) into a .jks using the keytool command

Is my thinking on this correct ?
0
Anthony Lucia
Asked:
Anthony Lucia
1 Solution
 
Dave HoweSoftware and Hardware EngineerCommented:
No.

  The file format of the JKS file doesn't permit you to have a private key without at least one certificate, nor can the standard keytool import or export private keys. What you CAN do is import or export PFX files, using the importkeystore operation, or import/export certificates.
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now