Keystore in PKCS12 format seems empty to keytool, but is read by Firefox?!

Posted by hjh on Stack Overflow See other posts from Stack Overflow or by hjh
Published on 2010-03-11T12:09:11Z Indexed on 2010/03/12 19:57 UTC
Read the original article Hit count: 230

Filed under:
|
|

I have a problem with a keystore in pkcs12 format, which contains a private key I need to use to authenticate myself (using mutual authentication) to a remote SSL server. The keystore file can be read perfectly fine by Firefox, and when used, I can access the remote server without problems.

However, my Java program does not work with the keystore file. And if I use keytool to list keys inside the file, it seems empty -- while it is clearly not!

How can I get Java/keytool to see the private key inside the keystore?

© Stack Overflow or respective owner

Related posts about java

Related posts about keytool