keytool and private key

Could some one please post an example of a keytool creating a private key (and please explain what about the command makes the key private instead of public)

Thanks
Anthony LuciaAsked:
Who is Participating?
 
Dave HoweSoftware and Hardware EngineerCommented:
there is no such command. you always generate a keypair, which generates both a private and a public key. the difference is that in the standard sun keytool, there is no way to extract the private key, you can merely export either a certificate or a CSR with the public key.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.