JKS vs PKCS
Posted on 2011-03-12
Hi, I read that keytool -genkey command creates both the private key and a public key(wrapped in a certificate chain). I can see the pub key cert chain but not the private key. On further reading, I found that to store a private key I need to use PKCS (openssl) keystore.
I need to know whether I have to use PKCS if I want to store a private key. Any help on this please. Also, any link/document detailing the differences between the two will be helpful.