Cryptography Tutorials - Herong's Tutorial Examples - v5.40, by Dr. Herong Yang
Migrating Keys from "keystore" to "OpenSSL" Key Files
This chapter provides tutorial notes and example codes on migrating keys from 'keystore' files to 'OpenSSL' key files. Topics include generating keys in 'keystore' files; dumping keys from 'keystore' files; converting binary key files to PEM format; reading keys with OpenSSL.
Some questions I received are related to moving keys from "keytool" keystore files to "OpenSSL" key files. Since "keytool" does not support key exporting function, I wrote a Java program to dump keys out of the keystore file.
Table of Contents