Cryptography Tutorials - Herong's Tutorial Examples - Version 5.35, 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.
Another type of questions I received is 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. In this chapter, I recorded some testing scenarios to find a way to move keys from "keytool" keystore files to "OpenSSL" key files.
Table of Contents