Differences between revisions 5 and 6
Revision 5 as of 2017-03-14 19:40:51
Size: 675
Editor: PieterSmit
Comment:
Revision 6 as of 2017-08-17 23:51:23
Size: 1026
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
== Java keytool ==
 * {{{ keytool -list -v -keystore store.jks }}}


== openssl export only key or cert ==
 * Export certificate using openssl:
   {{{
      openssl pkcs12 -in keystore.p12 -nokeys -out cert.pem
   }}}
 * Export unencrypted private key:
   {{{
      openssl pkcs12 -in keystore.p12 -nodes -nocerts -out key.pem
   }}}

SSL + TLS + OPENssl

Java keytool

  •  keytool -list -v -keystore store.jks 

openssl export only key or cert

  • Export certificate using openssl:
    •       openssl pkcs12 -in keystore.p12  -nokeys -out cert.pem
  • Export unencrypted private key:
    •       openssl pkcs12 -in keystore.p12  -nodes -nocerts -out key.pem

...

Security/ssl (last edited 2022-11-27 22:35:40 by PieterSmit)