Content deleted Content added
you CAN export private keys in two steps |
Tag: |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1:
{{WikiProject banner shell|class=Stub|
{{WikiProject Computing |importance=Low}}
{{WikiProject Computer Security |importance=Low}}
}}
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.
Line 4 ⟶ 8:
openssl pkcs12 -clcerts -in keystore.p12 -password file:p12passfile -nocerts > somecert.key
==Rename?==
Shouldn't this be renamed to Java Keystore? <!-- Template:Unsigned IP --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/71.15.161.208|71.15.161.208]] ([[User talk:71.15.161.208#top|talk]]) 00:12, 6 November 2017 (UTC)</small> <!--Autosigned by SineBot-->
:I agree. Done. --[[User:Franklin Yu|Franklin Yu]] ([[User talk:Franklin Yu|talk]]) 01:25, 2 May 2019 (UTC)
== More than authorization and public key certs can be stored ==
KeyStore definitely allows the storage of secret keys, which are not certs at all. <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/50.200.93.68|50.200.93.68]] ([[User talk:50.200.93.68|talk]]) 15:08, 7 August 2014 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
== 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. --[[User:Franklin Yu|Franklin Yu]] ([[User talk:Franklin Yu|talk]]) 01:29, 2 May 2019 (UTC)
|