Differences between revisions 14 and 15
Revision 14 as of 2019-11-15 22:10:24
Size: 1628
Editor: PieterSmit
Comment:
Revision 15 as of 2020-01-08 23:21:34
Size: 1716
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
 * [[OpenSslSelfSignedCertificate| openssl self signed certificate with ]]  * [[OpenSslSelfSignedCertificate| openssl self signed certificate with ]] [[https://realpython.com/python-https/#how-are-keys-shared|SSL key exchange explained]]

SSL + TLS + OPENssl

Java keytool

  • List keys
    •        keytool -list -v -keystore store.jks
  • Export java jks to p12
    •       keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.p12
      -deststoretype PKCS12 -srcalias <jkskeyalias> -deststorepass <password>
      -destkeypass <password>

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

...


CategorySecurity

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