Talk:Java KeyStore

You CAN get the private key by converting it to a pkcs12 file first, then extracting the private key with something like openssl. This at least works for the keytool bundled with java 1.7.

keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.p12 -srcstoretype JKS -deststoretype PKCS12 -deststorepass:file p12passfile -srcalias somecert -destalias somecert -srcstorepass:file jkspassfile (otheroptions)

openssl pkcs12 -clcerts -in keystore.p12 -password file:p12passfile -nocerts > somecert.key

Rename?

Shouldn't this be renamed to Java Keystore? — Preceding unsigned comment added by 71.15.161.208 (talk) 00:12, 6 November 2017 (UTC)Reply

I agree. Done. --Franklin Yu (talk) 01:25, 2 May 2019 (UTC)Reply

More than authorization and public key certs can be stored

KeyStore definitely allows the storage of secret keys, which are not certs at all. — Preceding unsigned comment added by 50.200.93.68 (talk) 15:08, 7 August 2014 (UTC)Reply

JCEKS?

I’m not sure whether JCEKS (Java Cryptography Extension KeyStore) should be mentioned in this article. I can’t find official documentation for it from Oracle. Need work. --Franklin Yu (talk) 01:29, 2 May 2019 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.